Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 176.4 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3411/0.3411, allocations: 43.56 MB / 314.6 MB, free: 8.824 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005058, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3514/0.4548, allocations: 164.7 MB / 0.5933 GB, free: 7.031 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007746/0.4626, allocations: 5.478 MB / 0.5987 GB, free: 1.543 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.4636, allocations: 19.81 kB / 0.5987 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00095/0.4646, allocations: 270.3 kB / 0.5989 GB, free: 1.258 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003437/0.468, allocations: 1.346 MB / 0.6003 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.4704, allocations: 0.9754 MB / 0.6012 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.4724, allocations: 2.246 MB / 0.6034 GB, free: 12.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.4729, allocations: 369.5 kB / 0.6038 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.4748, allocations: 1.054 MB / 0.6048 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009864/0.4758, allocations: 0.7356 MB / 0.6055 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.4759, allocations: 32 kB / 0.6055 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.4772, allocations: 0.5967 MB / 0.6061 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.4774, allocations: 239.2 kB / 0.6063 GB, free: 9.684 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4776, allocations: 173.3 kB / 0.6065 GB, free: 9.508 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.4786, allocations: 0.9898 MB / 0.6075 GB, free: 8.516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4786, allocations: 0 / 0.6075 GB, free: 8.516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4786, allocations: 4 kB / 0.6075 GB, free: 8.512 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4786, allocations: 0 / 0.6075 GB, free: 8.512 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001878/0.4805, allocations: 0.9893 MB / 0.6084 GB, free: 7.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4806, allocations: 12.02 kB / 0.6085 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.4807, allocations: 95.2 kB / 0.6085 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.4814, allocations: 135.1 kB / 0.6087 GB, free: 7.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/0.4821, allocations: 0.4966 MB / 0.6092 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.4823, allocations: 100.4 kB / 0.6093 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4824, allocations: 51.98 kB / 0.6093 GB, free: 6.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4836, allocations: 0.8096 MB / 0.6101 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4836, allocations: 7.938 kB / 0.6101 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.4837, allocations: 20 kB / 0.6101 GB, free: 5.617 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/0.4837, allocations: 45.47 kB / 0.6102 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009246/0.4847, allocations: 0.6127 MB / 0.6108 GB, free: 4.961 MB / 478.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.003859/0.4885, allocations: 3.982 MB / 0.6147 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.489, allocations: 357.3 kB / 0.615 GB, free: 388 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.4893, allocations: 165.3 kB / 0.6151 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/0.4897, allocations: 369.4 kB / 0.6155 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4897, allocations: 42.84 kB / 0.6155 GB, free: 15.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.4898, allocations: 0 / 0.6155 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.004785/0.4945, allocations: 1.674 MB / 0.6172 GB, free: 14.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.4946, allocations: 136.5 kB / 0.6173 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.4953, allocations: 0.6055 MB / 0.6179 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.4953, allocations: 33.7 kB / 0.6179 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.4955, allocations: 374.8 kB / 0.6183 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.4957, allocations: 138.1 kB / 0.6184 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4957, allocations: 12 kB / 0.6184 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4958, allocations: 374.8 kB / 0.6188 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.4962, allocations: 197.9 kB / 0.619 GB, free: 12.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/0.4967, allocations: 0.5202 MB / 0.6195 GB, free: 11.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.4971, allocations: 283.8 kB / 0.6198 GB, free: 11.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4971, allocations: 0 / 0.6198 GB, free: 11.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001286/0.4984, allocations: 0.8803 MB / 0.6206 GB, free: 10.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4984, allocations: 15.98 kB / 0.6206 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4985, allocations: 11.94 kB / 0.6206 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4997, allocations: 317 kB / 0.6209 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.5001, allocations: 119.8 kB / 0.6211 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009744/0.501, allocations: 0.9297 MB / 0.622 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.5015, allocations: 51.97 kB / 0.622 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.5016, allocations: 64 kB / 0.6221 GB, free: 8.746 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002912/0.5019, allocations: 241.5 kB / 0.6223 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.502, allocations: 79.09 kB / 0.6224 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.5034, allocations: 0.6894 MB / 0.6231 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.5034, allocations: 4 kB / 0.6231 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5034, allocations: 0 / 0.6231 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5034, allocations: 3.984 kB / 0.6231 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.5054, allocations: 1.599 MB / 0.6246 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5054, allocations: 4.938 kB / 0.6246 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009636/0.5064, allocations: 203.8 kB / 0.6248 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.387e-05/0.5065, allocations: 28.97 kB / 0.6249 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.5065, allocations: 23.92 kB / 0.6249 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.5082, allocations: 2.688 MB / 0.6275 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5083, allocations: 4.031 kB / 0.6275 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5094, allocations: 0.7998 MB / 0.6283 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.5097, allocations: 192.4 kB / 0.6285 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5099, allocations: 8 kB / 0.6285 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.5103, allocations: 31.97 kB / 0.6285 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/0.5104, allocations: 39.89 kB / 0.6285 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.5104, allocations: 43.98 kB / 0.6286 GB, free: 1.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005009/0.511, allocations: 427 kB / 0.629 GB, free: 1.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.511, allocations: 0 / 0.629 GB, free: 1.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001025/0.512, allocations: 295.9 kB / 0.6293 GB, free: 0.8906 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1988/0.7108, allocations: 1.585 MB / 0.6308 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.712, allocations: 0.5389 MB / 0.6314 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7121, allocations: 0 / 0.6314 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.713, allocations: 419 kB / 0.6317 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.7146, allocations: 338.3 kB / 0.6321 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.7199, allocations: 4.242 MB / 0.6362 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.7203, allocations: 0.9299 MB / 0.6371 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00108/0.7213, allocations: 265.3 kB / 0.6374 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.7218, allocations: 273.9 kB / 0.6376 GB, free: 151.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7218, allocations: 0 / 0.6376 GB, free: 151.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.7631, allocations: 23.75 MB / 0.6608 GB, free: 147.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.7633, allocations: 278.9 kB / 0.6611 GB, free: 147 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.026, allocations: 0 / 0.6611 GB, free: 147 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat