Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001754/0.001754, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002064/0.002064, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002404, allocations: 79.86 kB / 480.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3364, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5699/0.9063, allocations: 194 MB / 0.7201 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009036/0.9154, allocations: 7.443 MB / 0.7274 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.9161, allocations: 21.31 kB / 0.7274 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.9172, allocations: 438.2 kB / 0.7278 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.923, allocations: 2.35 MB / 0.7301 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006657/0.9297, allocations: 2.309 MB / 0.7323 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003247/0.9329, allocations: 2.204 MB / 0.7345 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009163/0.9339, allocations: 0.6024 MB / 0.7351 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/0.9388, allocations: 1.831 MB / 0.7369 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.9401, allocations: 0.8573 MB / 0.7377 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.9403, allocations: 95.81 kB / 0.7378 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009509/0.9498, allocations: 5.237 MB / 0.7429 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008539/0.9507, allocations: 432.8 kB / 0.7433 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.9519, allocations: 0.5316 MB / 0.7438 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.9624, allocations: 3.847 MB / 0.7476 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.9624, allocations: 0.9688 kB / 0.7476 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9624, allocations: 0 / 0.7476 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.9625, allocations: 0.9688 kB / 0.7476 GB, free: 1.359 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004563/0.967, allocations: 1.783 MB / 0.7493 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.9671, allocations: 10.03 kB / 0.7494 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.9673, allocations: 129.2 kB / 0.7495 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.9678, allocations: 111.4 kB / 0.7496 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.9689, allocations: 0.6257 MB / 0.7502 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.969, allocations: 121.8 kB / 0.7503 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.9692, allocations: 72.53 kB / 0.7504 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.9708, allocations: 1.16 MB / 0.7515 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.9709, allocations: 2.75 kB / 0.7515 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.971, allocations: 36.94 kB / 0.7515 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.45e-05/0.9711, allocations: 61.16 kB / 0.7516 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.9727, allocations: 1.163 MB / 0.7527 GB, free: 15.78 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006862/0.9796, allocations: 4.972 MB / 0.7576 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.9813, allocations: 0.8166 MB / 0.7584 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.9819, allocations: 428.8 kB / 0.7588 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/0.9836, allocations: 1.629 MB / 0.7604 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.9837, allocations: 45 kB / 0.7604 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.364e-06/0.9837, allocations: 0 / 0.7604 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01309/0.9968, allocations: 4.019 MB / 0.7644 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.997, allocations: 112.2 kB / 0.7645 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008396/0.9978, allocations: 0.6649 MB / 0.7651 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002232/0.9981, allocations: 44.38 kB / 0.7652 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.9984, allocations: 392.4 kB / 0.7655 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.9988, allocations: 310 kB / 0.7658 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.9991, allocations: 193.3 kB / 0.766 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003885/0.9995, allocations: 393.1 kB / 0.7664 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009205/1, allocations: 498.2 kB / 0.7669 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.002, allocations: 0.7493 MB / 0.7676 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/1.004, allocations: 1.293 MB / 0.7689 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.004, allocations: 2.406 kB / 0.7689 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003479/1.007, allocations: 1.679 MB / 0.7705 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/1.007, allocations: 8.656 kB / 0.7705 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.007, allocations: 7.781 kB / 0.7705 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007094/1.014, allocations: 1.307 MB / 0.7718 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/1.015, allocations: 160.4 kB / 0.7719 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/1.018, allocations: 1.524 MB / 0.7734 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.019, allocations: 57.03 kB / 0.7735 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.019, allocations: 51.27 kB / 0.7735 GB, free: 8.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0007457/1.02, allocations: 298.9 kB / 0.7738 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/1.021, allocations: 88.09 kB / 0.7739 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/1.024, allocations: 1.679 MB / 0.7755 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/1.025, allocations: 19.16 kB / 0.7756 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.025, allocations: 3.938 kB / 0.7756 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.025, allocations: 3.094 kB / 0.7756 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004744/1.029, allocations: 2.642 MB / 0.7782 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.029, allocations: 2.531 kB / 0.7782 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.031, allocations: 256.1 kB / 0.7784 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/1.032, allocations: 376.4 kB / 0.7788 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/1.032, allocations: 29.86 kB / 0.7788 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/1.035, allocations: 2.353 MB / 0.7811 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.035, allocations: 2.375 kB / 0.7811 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/1.039, allocations: 2.032 MB / 0.7831 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/1.04, allocations: 291.2 kB / 0.7833 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/1.04, allocations: 25.52 kB / 0.7834 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/1.041, allocations: 59.5 kB / 0.7834 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.041, allocations: 67.62 kB / 0.7835 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.041, allocations: 47.52 kB / 0.7835 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000704/1.042, allocations: 0.498 MB / 0.784 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/1.042, allocations: 0 / 0.784 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002119/1.044, allocations: 0.6954 MB / 0.7847 GB, free: 4.188 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007678/1.052, allocations: 3.303 MB / 0.7879 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003067/1.055, allocations: 1.251 MB / 0.7892 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.055, allocations: 0 / 0.7892 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.057, allocations: 0.7099 MB / 0.7898 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/1.06, allocations: 0.5279 MB / 0.7904 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.08, allocations: 9.715 MB / 0.7998 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009313/1.081, allocations: 1.044 MB / 0.8009 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001358/1.082, allocations: 364.2 kB / 0.8012 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/1.083, allocations: 339.3 kB / 0.8015 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/1.083, allocations: 0 / 0.8015 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09756/1.18, allocations: 43.99 MB / 0.8445 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.99, allocations: 10.58 kB / 0.8445 GB, free: 10.6 MB / 0.6387 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)