Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 89.62 kB / 16.65 MB, free: 6.59 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.00172/0.00172, allocations: 182.1 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004797, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01352/0.1262, allocations: 12.33 MB / 340.7 MB, free: 7.363 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.1287, allocations: 1.686 MB / 342.3 MB, free: 5.672 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.129, allocations: 7.938 kB / 342.4 MB, free: 5.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.1295, allocations: 143.2 kB / 342.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006192/0.1301, allocations: 310.5 kB / 342.8 MB, free: 5.219 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009873/0.1311, allocations: 379.2 kB / 343.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1327, allocations: 1.281 MB / 344.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1329, allocations: 76.67 kB / 344.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006165/0.1335, allocations: 346.6 kB / 344.9 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.1339, allocations: 270.9 kB / 345.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.134, allocations: 12 kB / 345.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.1343, allocations: 111.8 kB / 345.2 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1345, allocations: 75.73 kB / 345.3 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.1348, allocations: 189 kB / 345.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.1354, allocations: 462.7 kB / 346 MB, free: 2.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.1354, allocations: 4 kB / 346 MB, free: 2.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1354, allocations: 3.938 kB / 346 MB, free: 2.035 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.1354, allocations: 0 / 346 MB, free: 2.035 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008615/0.1363, allocations: 0.5147 MB / 346.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1363, allocations: 8.031 kB / 346.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.1366, allocations: 44.55 kB / 346.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.137, allocations: 275.8 kB / 346.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.137, allocations: 16.94 kB / 346.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.1371, allocations: 24.38 kB / 346.8 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.1376, allocations: 325.5 kB / 347.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1377, allocations: 3.938 kB / 347.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1377, allocations: 12 kB / 347.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1377, allocations: 8 kB / 347.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.1381, allocations: 193.5 kB / 347.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.1404, allocations: 1.728 MB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.1407, allocations: 142.5 kB / 349.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1409, allocations: 60.84 kB / 349.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.1412, allocations: 174.2 kB / 349.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1412, allocations: 30.56 kB / 349.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1412, allocations: 3.938 kB / 349.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0021/0.1433, allocations: 0.807 MB / 350.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1434, allocations: 51.41 kB / 350.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.1438, allocations: 286.5 kB / 350.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1438, allocations: 29.7 kB / 350.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.144, allocations: 199.5 kB / 350.9 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.1441, allocations: 74.98 kB / 350.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.1442, allocations: 37.7 kB / 351 MB, free: 12.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1444, allocations: 334.8 kB / 351.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1445, allocations: 71.75 kB / 351.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.1449, allocations: 195.1 kB / 351.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1454, allocations: 279.2 kB / 351.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1454, allocations: 4 kB / 351.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000549/0.146, allocations: 333.9 kB / 352.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.146, allocations: 11.92 kB / 352.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.146, allocations: 8 kB / 352.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.1463, allocations: 28.8 kB / 352.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.1466, allocations: 83.89 kB / 352.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.1478, allocations: 1.3 MB / 353.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1479, allocations: 12.16 kB / 353.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.148, allocations: 24 kB / 353.6 MB, free: 9.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.1482, allocations: 153.7 kB / 353.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.1483, allocations: 27.66 kB / 353.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.1487, allocations: 208.5 kB / 354 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1487, allocations: 4 kB / 354 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1487, allocations: 0 / 354 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004483/0.1491, allocations: 487.7 kB / 354.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.1504, allocations: 0.7722 MB / 355.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1504, allocations: 4 kB / 355.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1506, allocations: 47.91 kB / 355.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1506, allocations: 7.938 kB / 355.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1506, allocations: 4 kB / 355.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.1507, allocations: 4 kB / 355.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1507, allocations: 4 kB / 355.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.1512, allocations: 407.6 kB / 355.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1513, allocations: 104.8 kB / 355.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1514, allocations: 8 kB / 355.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1516, allocations: 11.98 kB / 355.9 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1516, allocations: 23.86 kB / 355.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.1517, allocations: 20.05 kB / 355.9 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.1519, allocations: 202 kB / 356.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1519, allocations: 0 / 356.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.1524, allocations: 107.9 kB / 356.2 MB, free: 6.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0002827/0.1527, allocations: 139.1 kB / 356.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.1533, allocations: 306.2 kB / 356.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1533, allocations: 0 / 356.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1534, allocations: 77.22 kB / 356.7 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.1544, allocations: 160.9 kB / 356.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1555, allocations: 0.7686 MB / 357.6 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.156, allocations: 0.7563 MB / 358.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.1563, allocations: 58.64 kB / 358.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.1563, allocations: 27.44 kB / 358.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1563, allocations: 0 / 358.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of Templates: time 0.0111/0.1674, allocations: 5.333 MB / 363.8 MB, free: 15.11 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)