Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0008085/0.0008086, allocations: 99.34 kB / 17 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008337/0.0008338, allocations: 182.5 kB / 17.89 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.249/0.249, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003276, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.127, allocations: 61.93 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02952/0.1566, allocations: 24.8 MB / 496.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.1599, allocations: 2.747 MB / 499.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.353e-05/0.16, allocations: 0 / 499.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1603, allocations: 39.73 kB / 499.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.1617, allocations: 0.5711 MB / 499.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1621, allocations: 127.2 kB / 499.9 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.1627, allocations: 394.1 kB / 0.4886 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.1628, allocations: 13.62 kB / 0.4886 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2824/0.4451, allocations: 22.44 MB / 0.5105 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005033/0.4457, allocations: 148.6 kB / 0.5107 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.4457, allocations: 6.406 kB / 0.5107 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.457, allocations: 5.594 MB / 0.5161 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.4571, allocations: 38.52 kB / 0.5162 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.4572, allocations: 65.95 kB / 0.5162 GB, free: 26.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005522/0.4578, allocations: 298.9 kB / 0.5165 GB, free: 26.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4578, allocations: 0 / 0.5165 GB, free: 26.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4578, allocations: 0 / 0.5165 GB, free: 26.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.4578, allocations: 0 / 0.5165 GB, free: 26.57 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.0009718/0.4588, allocations: 0.5519 MB / 0.517 GB, free: 26.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4589, allocations: 10.25 kB / 0.5171 GB, free: 26.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.4589, allocations: 60.06 kB / 0.5171 GB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.459, allocations: 25.12 kB / 0.5171 GB, free: 26.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.4593, allocations: 225.4 kB / 0.5174 GB, free: 25.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.4594, allocations: 120 kB / 0.5175 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.4594, allocations: 25 kB / 0.5175 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.4599, allocations: 325.4 kB / 0.5178 GB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4599, allocations: 3.469 kB / 0.5178 GB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4599, allocations: 9.094 kB / 0.5178 GB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.46, allocations: 7.953 kB / 0.5178 GB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/0.4608, allocations: 0.7377 MB / 0.5185 GB, free: 25.7 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.001094/0.4619, allocations: 1.303 MB / 0.5198 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.4622, allocations: 159.5 kB / 0.52 GB, free: 24.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4623, allocations: 83.19 kB / 0.52 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/0.4641, allocations: 2.813 MB / 0.5228 GB, free: 21.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.4641, allocations: 44.02 kB / 0.5228 GB, free: 21.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4641, allocations: 0 / 0.5228 GB, free: 21.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002472/0.4644, allocations: 111.9 kB / 0.5229 GB, free: 21.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.4644, allocations: 55 kB / 0.523 GB, free: 21.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4646, allocations: 222.7 kB / 0.5232 GB, free: 21.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4646, allocations: 28.02 kB / 0.5232 GB, free: 21.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.4647, allocations: 215.6 kB / 0.5234 GB, free: 21.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.4647, allocations: 48.56 kB / 0.5235 GB, free: 21.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.4647, allocations: 12 kB / 0.5235 GB, free: 21.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.4648, allocations: 327.6 kB / 0.5238 GB, free: 20.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.4649, allocations: 42.69 kB / 0.5238 GB, free: 20.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4651, allocations: 343 kB / 0.5242 GB, free: 20.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4652, allocations: 100.1 kB / 0.5243 GB, free: 20.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4652, allocations: 4.75 kB / 0.5243 GB, free: 20.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004644/0.4657, allocations: 387 kB / 0.5246 GB, free: 20.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4657, allocations: 18.8 kB / 0.5247 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.4657, allocations: 10.69 kB / 0.5247 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4657, allocations: 15.62 kB / 0.5247 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.466, allocations: 94.55 kB / 0.5248 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.466, allocations: 24.59 kB / 0.5248 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.4662, allocations: 61.31 kB / 0.5249 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.4663, allocations: 31.98 kB / 0.5249 GB, free: 20.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.4664, allocations: 148.3 kB / 0.525 GB, free: 20.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.4664, allocations: 14.75 kB / 0.525 GB, free: 20.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.4666, allocations: 152.2 kB / 0.5252 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.4667, allocations: 7.359 kB / 0.5252 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4667, allocations: 0 / 0.5252 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4667, allocations: 0.8906 kB / 0.5252 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.467, allocations: 409.5 kB / 0.5256 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4671, allocations: 4.031 kB / 0.5256 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.4671, allocations: 12.66 kB / 0.5256 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4671, allocations: 4.125 kB / 0.5256 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4671, allocations: 0.6094 kB / 0.5256 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.4672, allocations: 7.094 kB / 0.5256 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4672, allocations: 0.6562 kB / 0.5256 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.4673, allocations: 204.5 kB / 0.5258 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.4674, allocations: 107.7 kB / 0.5259 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.4674, allocations: 5.719 kB / 0.5259 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.4675, allocations: 7.875 kB / 0.5259 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.4676, allocations: 6.062 kB / 0.5259 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.4676, allocations: 4.219 kB / 0.5259 GB, free: 19.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.857e-05/0.4677, allocations: 156.6 kB / 0.5261 GB, free: 19.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4677, allocations: 4 kB / 0.5261 GB, free: 19.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004714/0.4682, allocations: 96.83 kB / 0.5262 GB, free: 19.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/0.4686, allocations: 0.7865 MB / 0.527 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.4689, allocations: 177.5 kB / 0.5271 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4689, allocations: 0 / 0.5271 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.4689, allocations: 35.34 kB / 0.5272 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4693, allocations: 33.52 kB / 0.5272 GB, free: 18.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.471, allocations: 1.469 MB / 0.5286 GB, free: 17.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.4711, allocations: 0.7282 MB / 0.5293 GB, free: 17.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.4713, allocations: 50.48 kB / 0.5294 GB, free: 17.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.4714, allocations: 63.09 kB / 0.5294 GB, free: 17.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4714, allocations: 0 / 0.5294 GB, free: 17.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.4888, allocations: 4.726 MB / 0.5341 GB, free: 15.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.489, allocations: 203.2 kB / 0.5343 GB, free: 15.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.418, allocations: 7.562 kB / 0.5343 GB, free: 15.2 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat