Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2499/0.2499, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002334/0.002334, allocations: 89.59 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0332/0.1672, allocations: 26.91 MB / 0.4952 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.1708, allocations: 2.959 MB / 0.4981 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.171, allocations: 3.938 kB / 0.4981 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.1713, allocations: 51.67 kB / 0.4982 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.1731, allocations: 0.7265 MB / 0.4989 GB, free: 6.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.1734, allocations: 137.1 kB / 0.499 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.174, allocations: 374.1 kB / 0.4994 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.582e-05/0.174, allocations: 13.67 kB / 0.4994 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2709/0.4449, allocations: 15.5 MB / 0.5145 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.4454, allocations: 142.6 kB / 0.5147 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.4455, allocations: 7.406 kB / 0.5147 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009922/0.4554, allocations: 3.44 MB / 0.518 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4556, allocations: 46.25 kB / 0.5181 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.4558, allocations: 107.2 kB / 0.5182 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.4571, allocations: 462.7 kB / 0.5186 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4571, allocations: 0 / 0.5186 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4571, allocations: 1.25 kB / 0.5186 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4571, allocations: 0 / 0.5186 GB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001176/0.4583, allocations: 0.5978 MB / 0.5192 GB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4584, allocations: 9.75 kB / 0.5192 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.4584, allocations: 66.53 kB / 0.5193 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.4586, allocations: 23.94 kB / 0.5193 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.4589, allocations: 222.9 kB / 0.5195 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.459, allocations: 129.2 kB / 0.5196 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.459, allocations: 26.25 kB / 0.5197 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.4595, allocations: 323.6 kB / 0.52 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4596, allocations: 2.828 kB / 0.52 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.4596, allocations: 12.25 kB / 0.52 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.4596, allocations: 10.95 kB / 0.52 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.4605, allocations: 0.7337 MB / 0.5207 GB, free: 9.801 MB / 382.1 MB 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.001307/0.4618, allocations: 1.306 MB / 0.522 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.4621, allocations: 165.5 kB / 0.5221 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4623, allocations: 86.78 kB / 0.5222 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/0.4642, allocations: 2.812 MB / 0.525 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.4642, allocations: 36.67 kB / 0.525 GB, free: 5.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.4642, allocations: 1.156 kB / 0.525 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002884/0.4645, allocations: 118.1 kB / 0.5251 GB, free: 5.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.4645, allocations: 56.69 kB / 0.5252 GB, free: 5.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.4647, allocations: 225.6 kB / 0.5254 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4647, allocations: 26.8 kB / 0.5254 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4648, allocations: 216 kB / 0.5256 GB, free: 5.402 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.4649, allocations: 47.78 kB / 0.5257 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.547e-05/0.4649, allocations: 88.7 kB / 0.5257 GB, free: 5.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.465, allocations: 325 kB / 0.5261 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.4651, allocations: 44.55 kB / 0.5261 GB, free: 5.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.4653, allocations: 348.4 kB / 0.5264 GB, free: 4.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.4656, allocations: 446.3 kB / 0.5269 GB, free: 4.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4656, allocations: 3.25 kB / 0.5269 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005414/0.4662, allocations: 385.6 kB / 0.5272 GB, free: 4.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4662, allocations: 10.06 kB / 0.5272 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4662, allocations: 12.41 kB / 0.5272 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/0.4663, allocations: 18.38 kB / 0.5273 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.4665, allocations: 96.11 kB / 0.5274 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/0.4666, allocations: 25.19 kB / 0.5274 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.4668, allocations: 53.22 kB / 0.5274 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.4668, allocations: 32.66 kB / 0.5275 GB, free: 4.168 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.467, allocations: 151.1 kB / 0.5276 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.467, allocations: 22.25 kB / 0.5276 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.4673, allocations: 150.9 kB / 0.5278 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4673, allocations: 1.125 kB / 0.5278 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4673, allocations: 1.125 kB / 0.5278 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4673, allocations: 0 / 0.5278 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.4677, allocations: 408.2 kB / 0.5282 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4677, allocations: 6.25 kB / 0.5282 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.4678, allocations: 21.66 kB / 0.5282 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4678, allocations: 1.219 kB / 0.5282 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4678, allocations: 1.906 kB / 0.5282 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4678, allocations: 1.312 kB / 0.5282 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4678, allocations: 2.25 kB / 0.5282 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.468, allocations: 210.1 kB / 0.5284 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.4681, allocations: 101.5 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.4681, allocations: 3.5 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4683, allocations: 2.781 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.4683, allocations: 8.703 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.4683, allocations: 8.219 kB / 0.5285 GB, free: 3.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4685, allocations: 156.8 kB / 0.5287 GB, free: 3.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4685, allocations: 4 kB / 0.5287 GB, free: 3.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.469, allocations: 92.22 kB / 0.5288 GB, free: 3.281 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006689/0.4697, allocations: 0.7915 MB / 0.5295 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00037/0.4701, allocations: 174.4 kB / 0.5297 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4701, allocations: 320 / 0.5297 GB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.074e-05/0.4701, allocations: 30.62 kB / 0.5297 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.4706, allocations: 45.28 kB / 0.5298 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.4736, allocations: 2.808 MB / 0.5325 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4739, allocations: 0.7251 MB / 0.5332 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002872/0.4742, allocations: 57.69 kB / 0.5333 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.4743, allocations: 59.19 kB / 0.5333 GB, free: 15.68 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4743, allocations: 0 / 0.5333 GB, free: 15.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.5039, allocations: 5.186 MB / 0.5384 GB, free: 14.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.599, allocations: 3.562 kB / 0.5384 GB, free: 14.54 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1)