Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.0009603/0.0009602, 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.000932/0.0009322, allocations: 175.8 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.571/1.571, allocations: 205.4 MB / 222.7 MB, free: 5.879 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.3818/0.3818, allocations: 43.55 MB / 314.6 MB, free: 8.68 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.0005305/0.0005305, allocations: 18.19 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 58.85 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.2747/0.4132, allocations: 28.14 MB / 471 MB, free: 35.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006667/0.4199, allocations: 4.411 MB / 475.4 MB, free: 32.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.421, allocations: 24.81 kB / 475.5 MB, free: 32.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.422, allocations: 236.4 kB / 475.7 MB, free: 32.68 MB / 382.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.003851/0.4259, allocations: 1.61 MB / 477.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.4289, allocations: 1.261 MB / 478.6 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002341/0.4313, allocations: 2.243 MB / 480.8 MB, free: 30.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005513/0.4319, allocations: 395.8 kB / 481.2 MB, free: 30.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006078/0.4379, allocations: 3.524 MB / 484.7 MB, free: 29.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.4401, allocations: 1.436 MB / 486.1 MB, free: 29.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4402, allocations: 34.72 kB / 486.2 MB, free: 29.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.4426, allocations: 1.377 MB / 487.6 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.4429, allocations: 233.2 kB / 487.8 MB, free: 29.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.4431, allocations: 166.6 kB / 488 MB, free: 29.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4446, allocations: 1.058 MB / 489 MB, free: 28.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4446, allocations: 3.938 kB / 489 MB, free: 28.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4447, allocations: 0 / 489 MB, free: 28.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.4447, allocations: 0 / 489 MB, free: 28.93 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001707/0.4464, allocations: 1.004 MB / 490 MB, free: 28.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4464, allocations: 9.156 kB / 490 MB, free: 28.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.4466, allocations: 100.5 kB / 490.1 MB, free: 28.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.4475, allocations: 151.7 kB / 490.3 MB, free: 28.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007388/0.4482, allocations: 0.4944 MB / 490.8 MB, free: 27.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.4483, allocations: 101 kB / 490.9 MB, free: 27.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.4484, allocations: 52.28 kB / 490.9 MB, free: 27.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.45, allocations: 0.8384 MB / 491.8 MB, free: 27.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.4501, allocations: 2.094 kB / 491.8 MB, free: 27.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.4501, allocations: 24.41 kB / 491.8 MB, free: 27.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.997e-05/0.4502, allocations: 39.09 kB / 491.8 MB, free: 27.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.4514, allocations: 0.6026 MB / 492.4 MB, free: 26.96 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.004893/0.4564, allocations: 4.89 MB / 497.3 MB, free: 22.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.457, allocations: 323.9 kB / 497.6 MB, free: 22.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.4573, allocations: 147.2 kB / 497.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003861/0.4577, allocations: 0.6148 MB / 498.4 MB, free: 21.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4577, allocations: 42.48 kB / 498.4 MB, free: 21.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.4577, allocations: 0 / 498.4 MB, free: 21.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003818/0.4615, allocations: 1.529 MB / 500 MB, free: 21.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4616, allocations: 133.5 kB / 0.4884 GB, free: 20.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/0.4625, allocations: 0.6535 MB / 0.489 GB, free: 20.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.4625, allocations: 32.45 kB / 0.489 GB, free: 20.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.4628, allocations: 387.3 kB / 0.4894 GB, free: 20.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.4629, allocations: 137.8 kB / 0.4895 GB, free: 20.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.4629, allocations: 11.25 kB / 0.4895 GB, free: 20.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4631, allocations: 383.5 kB / 0.4899 GB, free: 19.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.4634, allocations: 204 kB / 0.4901 GB, free: 19.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.4639, allocations: 0.493 MB / 0.4906 GB, free: 19.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.4644, allocations: 290.6 kB / 0.4909 GB, free: 19.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.4644, allocations: 2.875 kB / 0.4909 GB, free: 19.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001489/0.4659, allocations: 0.8729 MB / 0.4917 GB, free: 18.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4659, allocations: 9.344 kB / 0.4917 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.4659, allocations: 9.75 kB / 0.4917 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.4672, allocations: 294 kB / 0.492 GB, free: 18.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.4676, allocations: 128 kB / 0.4921 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.4687, allocations: 1.401 MB / 0.4935 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.4693, allocations: 29.67 kB / 0.4935 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.4694, allocations: 47.42 kB / 0.4936 GB, free: 17.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.4697, allocations: 254.5 kB / 0.4938 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.4699, allocations: 70.66 kB / 0.4939 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.4713, allocations: 0.6502 MB / 0.4945 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.4714, allocations: 8.953 kB / 0.4945 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4714, allocations: 0 / 0.4945 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4714, allocations: 2.484 kB / 0.4945 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.4735, allocations: 1.217 MB / 0.4957 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4735, allocations: 1.188 kB / 0.4957 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.4737, allocations: 49.19 kB / 0.4958 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009086/0.4746, allocations: 205.2 kB / 0.496 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.4747, allocations: 17.69 kB / 0.496 GB, free: 16.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009217/0.4756, allocations: 1.298 MB / 0.4973 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4756, allocations: 5.5 kB / 0.4973 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.4771, allocations: 0.8099 MB / 0.4981 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.4775, allocations: 200.5 kB / 0.4982 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/0.4776, allocations: 13.11 kB / 0.4983 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/0.4779, allocations: 22.75 kB / 0.4983 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.478, allocations: 25.33 kB / 0.4983 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.4781, allocations: 25.55 kB / 0.4983 GB, free: 14.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006517/0.4787, allocations: 449.1 kB / 0.4988 GB, free: 14.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4787, allocations: 0 / 0.4988 GB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00125/0.48, allocations: 299.6 kB / 0.499 GB, free: 14.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002228/0.4822, allocations: 1.605 MB / 0.5006 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4834, allocations: 0.5082 MB / 0.5011 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4834, allocations: 1.219 kB / 0.5011 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.4839, allocations: 221 kB / 0.5013 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.4854, allocations: 310.3 kB / 0.5016 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006767/0.4921, allocations: 4.169 MB / 0.5057 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.4926, allocations: 0.934 MB / 0.5066 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008749/0.4935, allocations: 206.7 kB / 0.5068 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.4938, allocations: 236.5 kB / 0.507 GB, free: 9.586 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.4938, allocations: 1.25 kB / 0.507 GB, free: 9.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.5308, allocations: 21.53 MB / 0.528 GB, free: 8.23 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/0.5311, allocations: 290.8 kB / 0.5283 GB, free: 7.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.678, allocations: 0 / 0.5283 GB, free: 7.871 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat