Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001097/0.001097, allocations: 96.66 kB / 17 MB, free: 6.418 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.001385/0.001385, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.437/1.437, allocations: 223.3 MB / 241.9 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.22 MB / 337.2 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 11.98 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004466/0.1376, allocations: 4.408 MB / 476.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.1419, allocations: 4.197 MB / 480.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1421, allocations: 4 kB / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1424, allocations: 35.8 kB / 480.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1438, allocations: 0.5243 MB / 480.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.1441, allocations: 149.4 kB / 481 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.1447, allocations: 390.1 kB / 481.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.1447, allocations: 9.688 kB / 481.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.145, allocations: 151.4 kB / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1453, allocations: 127.5 kB / 481.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1453, allocations: 4 kB / 481.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007629/0.1461, allocations: 263.7 kB / 481.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.273e-05/0.1462, allocations: 43.81 kB / 481.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.1462, allocations: 57.64 kB / 482 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1466, allocations: 271.7 kB / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1466, allocations: 0 / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1466, allocations: 0 / 482.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1466, allocations: 0 / 482.2 MB, free: 2.977 MB / 350.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.0008441/0.1475, allocations: 0.5421 MB / 482.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1475, allocations: 12.03 kB / 482.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.1476, allocations: 66.52 kB / 482.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.1477, allocations: 23.81 kB / 482.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.148, allocations: 226.7 kB / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1481, allocations: 123.4 kB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.1482, allocations: 20 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1486, allocations: 323.6 kB / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1487, allocations: 0 / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.1487, allocations: 12 kB / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.1487, allocations: 8 kB / 483.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.1495, allocations: 0.739 MB / 484.3 MB, free: 0.7461 MB / 350.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.001229/0.1508, allocations: 1.25 MB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1511, allocations: 146.8 kB / 485.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1512, allocations: 72.58 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002236/0.1534, allocations: 2.663 MB / 488.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1535, allocations: 30.56 kB / 488.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.818e-06/0.1535, allocations: 0 / 488.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006368/0.1541, allocations: 226.8 kB / 488.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1542, allocations: 55.41 kB / 488.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1544, allocations: 219.7 kB / 489 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1544, allocations: 29.7 kB / 489 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1546, allocations: 210.8 kB / 489.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.1546, allocations: 47.36 kB / 489.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.1546, allocations: 4 kB / 489.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1548, allocations: 326.8 kB / 489.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.364e-05/0.1549, allocations: 52.83 kB / 489.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.1552, allocations: 326 kB / 489.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1553, allocations: 111.8 kB / 490.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1554, allocations: 0 / 490.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000532/0.1559, allocations: 369.7 kB / 490.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.1559, allocations: 8 kB / 490.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.156, allocations: 16.06 kB / 490.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.156, allocations: 16 kB / 490.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.1563, allocations: 107.8 kB / 490.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.1564, allocations: 23.88 kB / 490.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1566, allocations: 20 kB / 490.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1566, allocations: 24 kB / 490.6 MB, free: 9.617 MB / 366.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.0001381/0.1568, allocations: 158.2 kB / 490.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1568, allocations: 23.72 kB / 490.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.1572, allocations: 162.8 kB / 491 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.1572, allocations: 0 / 491 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1572, allocations: 0 / 491 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1572, allocations: 3.953 kB / 491 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.1577, allocations: 426.2 kB / 491.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1578, allocations: 0 / 491.4 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1579, allocations: 35.92 kB / 491.4 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1579, allocations: 8.031 kB / 491.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.158, allocations: 0 / 491.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.158, allocations: 3.953 kB / 491.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.158, allocations: 4 kB / 491.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1582, allocations: 224 kB / 491.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1583, allocations: 108.9 kB / 491.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.1583, allocations: 0 / 491.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1585, allocations: 19.88 kB / 491.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.1586, allocations: 11.94 kB / 491.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1586, allocations: 11.98 kB / 491.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1587, allocations: 148.5 kB / 491.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1587, allocations: 0 / 491.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004888/0.1592, allocations: 95.92 kB / 492 MB, free: 8.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0006355/0.1599, allocations: 0.8028 MB / 492.8 MB, free: 7.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.1602, allocations: 170.1 kB / 493 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1602, allocations: 8.062 kB / 493 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.1603, allocations: 35.67 kB / 493.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1608, allocations: 52.36 kB / 493.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1629, allocations: 1.395 MB / 494.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1632, allocations: 0.7326 MB / 495.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002718/0.1635, allocations: 58.78 kB / 495.3 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1636, allocations: 71.41 kB / 495.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1636, allocations: 0 / 495.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.181, allocations: 5.141 MB / 0.4888 GB, free: 15.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.1814, allocations: 211 kB / 0.489 GB, free: 15.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.96/2.141, allocations: 0 / 0.489 GB, free: 15.35 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat