Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2366/0.2366, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00301/0.00301, allocations: 78.31 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1399, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007349/0.1473, allocations: 5.024 MB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.1525, allocations: 4.571 MB / 489.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1527, allocations: 4 kB / 489.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.153, allocations: 59.59 kB / 489.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.1548, allocations: 0.6564 MB / 490.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1552, allocations: 156.7 kB / 490.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.1557, allocations: 370.1 kB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.1558, allocations: 21.67 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.156, allocations: 147.5 kB / 491.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1562, allocations: 123.5 kB / 491.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.1562, allocations: 8 kB / 491.3 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008201/0.157, allocations: 355.6 kB / 491.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.289e-05/0.1571, allocations: 47.75 kB / 491.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1573, allocations: 107.5 kB / 491.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.158, allocations: 431.2 kB / 492.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.158, allocations: 4 kB / 492.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.158, allocations: 0 / 492.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.158, allocations: 4 kB / 492.2 MB, free: 9.055 MB / 366.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.001023/0.159, allocations: 0.5852 MB / 492.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1591, allocations: 8.031 kB / 492.8 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.117e-05/0.1592, allocations: 62.72 kB / 492.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.1593, allocations: 32.73 kB / 492.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1596, allocations: 232 kB / 493.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.1597, allocations: 119.9 kB / 493.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.1598, allocations: 28.12 kB / 493.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1603, allocations: 319.7 kB / 493.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1603, allocations: 3.938 kB / 493.6 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1603, allocations: 12 kB / 493.6 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.1604, allocations: 8 kB / 493.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/0.1612, allocations: 0.7391 MB / 494.4 MB, free: 6.773 MB / 366.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.001517/0.1628, allocations: 1.246 MB / 495.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.1631, allocations: 150.8 kB / 495.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1632, allocations: 72.83 kB / 495.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/0.1657, allocations: 2.666 MB / 498.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1658, allocations: 42.5 kB / 498.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1658, allocations: 0 / 498.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000733/0.1665, allocations: 219.8 kB / 498.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1666, allocations: 59.34 kB / 498.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1668, allocations: 218.5 kB / 499 MB, free: 1.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.1668, allocations: 33.7 kB / 499.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.167, allocations: 206.8 kB / 499.3 MB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.167, allocations: 47.36 kB / 499.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1671, allocations: 85.94 kB / 499.4 MB, free: 1.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1673, allocations: 326.8 kB / 499.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.901e-05/0.1674, allocations: 56.83 kB / 499.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1677, allocations: 312.3 kB / 0.4884 GB, free: 256 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.1682, allocations: 411.5 kB / 0.4888 GB, free: 15.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1682, allocations: 4 kB / 0.4888 GB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006301/0.1688, allocations: 365.7 kB / 0.4891 GB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1689, allocations: 14.66 kB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1689, allocations: 8 kB / 0.4891 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.1689, allocations: 20 kB / 0.4891 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.1692, allocations: 107.8 kB / 0.4893 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.1693, allocations: 15.94 kB / 0.4893 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.1695, allocations: 20 kB / 0.4893 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.1695, allocations: 31.98 kB / 0.4893 GB, free: 15.14 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1697, allocations: 149.5 kB / 0.4895 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.1697, allocations: 15.81 kB / 0.4895 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.1701, allocations: 150.9 kB / 0.4896 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.1701, allocations: 7.938 kB / 0.4896 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1701, allocations: 7.938 kB / 0.4896 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1701, allocations: 0 / 0.4896 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.1708, allocations: 439 kB / 0.4901 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1708, allocations: 7.938 kB / 0.4901 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1709, allocations: 27.98 kB / 0.4901 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1709, allocations: 0 / 0.4901 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.171, allocations: 8.109 kB / 0.4901 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.171, allocations: 4 kB / 0.4901 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.171, allocations: 3.969 kB / 0.4901 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1713, allocations: 224.1 kB / 0.4903 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.1714, allocations: 104.8 kB / 0.4904 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1714, allocations: 7.844 kB / 0.4904 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1716, allocations: 11.98 kB / 0.4904 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1716, allocations: 11.98 kB / 0.4904 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1717, allocations: 8 kB / 0.4905 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1718, allocations: 152.5 kB / 0.4906 GB, free: 13.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1718, allocations: 0 / 0.4906 GB, free: 13.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.1723, allocations: 92 kB / 0.4907 GB, free: 13.62 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008138/0.1731, allocations: 0.8183 MB / 0.4915 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.1735, allocations: 185.4 kB / 0.4917 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1735, allocations: 0 / 0.4917 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.1736, allocations: 36.55 kB / 0.4917 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1741, allocations: 61.61 kB / 0.4918 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.1771, allocations: 2.704 MB / 0.4944 GB, free: 9.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1775, allocations: 0.7285 MB / 0.4951 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.1778, allocations: 50.84 kB / 0.4952 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1779, allocations: 70.53 kB / 0.4952 GB, free: 8.602 MB / 382.1 MB Notification: Performance of SimCode: time 2.525e-06/0.1779, allocations: 0 / 0.4952 GB, free: 8.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.2042, allocations: 5.553 MB / 0.5006 GB, free: 3.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.318, allocations: 8.891 kB / 0.5007 GB, free: 3.172 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)