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.001102/0.001102, allocations: 95.27 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.0009631/0.0009632, allocations: 185.1 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.388/1.388, 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.2464/0.2464, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003949, allocations: 9.562 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1494, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006802/0.1563, allocations: 4.074 MB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.1612, allocations: 3.683 MB / 479.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.1614, allocations: 0 / 479.3 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1618, allocations: 39.78 kB / 479.3 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.1637, allocations: 0.5569 MB / 479.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.1641, allocations: 154 kB / 480 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.1647, allocations: 259.4 kB / 480.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.1648, allocations: 9.688 kB / 480.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.165, allocations: 147.5 kB / 480.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1652, allocations: 111.6 kB / 480.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1652, allocations: 8 kB / 480.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008865/0.1661, allocations: 299.7 kB / 480.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.1662, allocations: 47.81 kB / 480.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.1663, allocations: 61.64 kB / 481 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1668, allocations: 275.7 kB / 481.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1668, allocations: 0 / 481.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1668, allocations: 0 / 481.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1668, allocations: 0 / 481.2 MB, free: 3.93 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.0009221/0.1677, allocations: 0.5304 MB / 481.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1678, allocations: 12.03 kB / 481.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.1e-05/0.1679, allocations: 66.48 kB / 481.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.168, allocations: 27.8 kB / 481.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.1683, allocations: 226.7 kB / 482.1 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.1684, allocations: 127.4 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1684, allocations: 16 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.1689, allocations: 323.6 kB / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.169, allocations: 0 / 482.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.169, allocations: 12 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.169, allocations: 8 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.1698, allocations: 0.739 MB / 483.3 MB, free: 1.707 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.001361/0.1712, allocations: 1.292 MB / 484.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1715, allocations: 146.8 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.1738, allocations: 2.619 MB / 487.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1738, allocations: 34.56 kB / 487.4 MB, free: 13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1738, allocations: 0 / 487.4 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.000632/0.1745, allocations: 228.8 kB / 487.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1745, allocations: 55.41 kB / 487.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1747, allocations: 211.4 kB / 487.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1747, allocations: 33.7 kB / 487.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1749, allocations: 202.9 kB / 488.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.1749, allocations: 63.19 kB / 488.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.1749, allocations: 8 kB / 488.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1751, allocations: 326.8 kB / 488.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.1752, allocations: 52.83 kB / 488.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.1754, allocations: 308.3 kB / 488.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1756, allocations: 95.86 kB / 488.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.1756, allocations: 4 kB / 488.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005352/0.1761, allocations: 365.2 kB / 489.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1762, allocations: 8 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1762, allocations: 8 kB / 489.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.1762, allocations: 19.94 kB / 489.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.1766, allocations: 116.3 kB / 489.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.1766, allocations: 27.86 kB / 489.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1768, allocations: 20 kB / 489.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.1769, allocations: 27.95 kB / 489.5 MB, free: 10.68 MB / 366.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: 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.0001415/0.177, allocations: 150.2 kB / 489.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.1771, allocations: 15.81 kB / 489.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.1774, allocations: 191.1 kB / 489.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.1775, allocations: 4 kB / 489.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1775, allocations: 0 / 489.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1775, allocations: 3.984 kB / 489.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.178, allocations: 439.4 kB / 490.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.178, allocations: 4 kB / 490.3 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.1782, allocations: 39.91 kB / 490.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1782, allocations: 0 / 490.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1782, allocations: 0 / 490.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1782, allocations: 8.031 kB / 490.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1782, allocations: 0 / 490.4 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1785, allocations: 233.8 kB / 490.6 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1786, allocations: 108.9 kB / 490.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1786, allocations: 3.938 kB / 490.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1788, allocations: 19.97 kB / 490.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.1789, allocations: 15.94 kB / 490.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1789, allocations: 8 kB / 490.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.179, allocations: 148.5 kB / 490.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.179, allocations: 0 / 490.9 MB, free: 9.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004748/0.1795, allocations: 95.92 kB / 491 MB, free: 9.102 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.000696/0.1802, allocations: 0.8889 MB / 491.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1805, allocations: 173.7 kB / 492 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1805, allocations: 8.25 kB / 492 MB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.1806, allocations: 35.92 kB / 492.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.181, allocations: 48.3 kB / 492.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.1849, allocations: 7.483 MB / 499.6 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1853, allocations: 0.7287 MB / 0.4886 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.1856, allocations: 62.78 kB / 0.4887 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.1857, allocations: 63.41 kB / 0.4887 GB, free: 15.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1857, allocations: 0 / 0.4887 GB, free: 15.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2039, allocations: 5.082 MB / 0.4937 GB, free: 10.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/0.2042, allocations: 210.5 kB / 0.4939 GB, free: 10.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.021, allocations: 64 / 0.4939 GB, free: 10.2 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