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.0009731/0.0009731, allocations: 94.28 kB / 16.98 MB, free: 5.938 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.001011/0.001011, allocations: 183.8 kB / 17.88 MB, free: 5.594 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.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 396 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.2389/0.2389, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005324, allocations: 11.98 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1527, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02663/0.1794, allocations: 22.54 MB / 494.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003292/0.1827, allocations: 2.569 MB / 496.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1829, allocations: 8 kB / 496.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1833, allocations: 39.78 kB / 496.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.1857, allocations: 0.5958 MB / 497.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.1862, allocations: 121.9 kB / 497.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.1868, allocations: 255.4 kB / 497.7 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.1869, allocations: 9.688 kB / 497.7 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3288/0.5157, allocations: 22.25 MB / 0.5077 GB, free: 27.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005404/0.5163, allocations: 135.5 kB / 0.5079 GB, free: 27.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.5163, allocations: 6.219 kB / 0.5079 GB, free: 27.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/0.5296, allocations: 5.596 MB / 0.5133 GB, free: 27.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5298, allocations: 44.06 kB / 0.5134 GB, free: 27.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.5299, allocations: 59.23 kB / 0.5134 GB, free: 27.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.5307, allocations: 290.5 kB / 0.5137 GB, free: 27.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5307, allocations: 0 / 0.5137 GB, free: 27.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5307, allocations: 4 kB / 0.5137 GB, free: 27.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.5307, allocations: 0 / 0.5137 GB, free: 27.73 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.00103/0.5317, allocations: 0.5456 MB / 0.5142 GB, free: 27.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5318, allocations: 14 kB / 0.5143 GB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.5319, allocations: 64.58 kB / 0.5143 GB, free: 27.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.532, allocations: 23.97 kB / 0.5143 GB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.5322, allocations: 227.1 kB / 0.5146 GB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.832e-05/0.5323, allocations: 121 kB / 0.5147 GB, free: 26.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.5324, allocations: 22.22 kB / 0.5147 GB, free: 26.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.5329, allocations: 326.9 kB / 0.515 GB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5329, allocations: 5.719 kB / 0.515 GB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.5329, allocations: 9.125 kB / 0.515 GB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.533, allocations: 6.625 kB / 0.515 GB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.534, allocations: 0.7409 MB / 0.5157 GB, free: 26.82 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.001362/0.5353, allocations: 1.348 MB / 0.5171 GB, free: 25.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.5357, allocations: 161.7 kB / 0.5172 GB, free: 25.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/0.5377, allocations: 2.863 MB / 0.52 GB, free: 22.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5377, allocations: 37.38 kB / 0.5201 GB, free: 22.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.5377, allocations: 2.531 kB / 0.5201 GB, free: 22.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003348/0.5381, allocations: 145.3 kB / 0.5202 GB, free: 22.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.5381, allocations: 57.86 kB / 0.5202 GB, free: 22.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.5383, allocations: 203.7 kB / 0.5204 GB, free: 22.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.5383, allocations: 28.77 kB / 0.5205 GB, free: 22.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.5384, allocations: 206.8 kB / 0.5207 GB, free: 22.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.5385, allocations: 58.06 kB / 0.5207 GB, free: 22.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.5385, allocations: 7.75 kB / 0.5207 GB, free: 22.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.5386, allocations: 328.5 kB / 0.521 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.5387, allocations: 49.81 kB / 0.5211 GB, free: 22.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.5389, allocations: 326.5 kB / 0.5214 GB, free: 21.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5391, allocations: 100 kB / 0.5215 GB, free: 21.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5391, allocations: 2.5 kB / 0.5215 GB, free: 21.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005259/0.5396, allocations: 375.9 kB / 0.5219 GB, free: 21.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5396, allocations: 7.562 kB / 0.5219 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.5396, allocations: 12 kB / 0.5219 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.5397, allocations: 14.72 kB / 0.5219 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.5399, allocations: 100.1 kB / 0.522 GB, free: 21.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.54, allocations: 20.94 kB / 0.522 GB, free: 21.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.5402, allocations: 51.31 kB / 0.5221 GB, free: 21.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.5402, allocations: 24.88 kB / 0.5221 GB, free: 21.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 0.0001097/0.5404, allocations: 156.5 kB / 0.5222 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.5404, allocations: 20.34 kB / 0.5222 GB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.5408, allocations: 185.2 kB / 0.5224 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5408, allocations: 3.078 kB / 0.5224 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5408, allocations: 0 / 0.5224 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5408, allocations: 4.609 kB / 0.5224 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.5413, allocations: 449.4 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5413, allocations: 3.438 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.5414, allocations: 22.55 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5414, allocations: 2.656 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.5414, allocations: 3.953 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.5415, allocations: 7.156 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5415, allocations: 2.938 kB / 0.5229 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.5417, allocations: 268.8 kB / 0.5232 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.5418, allocations: 113.8 kB / 0.5233 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.5418, allocations: 8.266 kB / 0.5233 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.542, allocations: 6.031 kB / 0.5233 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.542, allocations: 15.33 kB / 0.5233 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.542, allocations: 9.188 kB / 0.5233 GB, free: 20.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.5422, allocations: 144.4 kB / 0.5234 GB, free: 20.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.5422, allocations: 4 kB / 0.5234 GB, free: 20.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005567/0.5428, allocations: 110.5 kB / 0.5235 GB, free: 20.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * 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.0006437/0.5434, allocations: 1.144 MB / 0.5247 GB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.5437, allocations: 179.9 kB / 0.5248 GB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5438, allocations: 0 / 0.5248 GB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.5438, allocations: 34.59 kB / 0.5249 GB, free: 19.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.5442, allocations: 50.69 kB / 0.5249 GB, free: 19.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.5477, allocations: 7.79 MB / 0.5325 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.548, allocations: 0.734 MB / 0.5332 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000279/0.5483, allocations: 66.7 kB / 0.5333 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.5484, allocations: 58.94 kB / 0.5334 GB, free: 11.49 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5484, allocations: 0 / 0.5334 GB, free: 11.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.5661, allocations: 5.158 MB / 0.5384 GB, free: 10.67 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.5663, allocations: 200.3 kB / 0.5386 GB, free: 10.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.425, allocations: 4 kB / 0.5386 GB, free: 10.43 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