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.001418/0.001427, allocations: 107.3 kB / 16.51 MB, free: 6.707 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.001575/0.001575, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.535/1.535, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.002238/0.002238, allocations: 55.94 kB / 279.3 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 46.62 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01499/0.1361, allocations: 12.83 MB / 338.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1384, allocations: 1.701 MB / 340.5 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1387, allocations: 7.938 kB / 340.5 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.1393, allocations: 139.2 kB / 340.6 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.14, allocations: 314.5 kB / 340.9 MB, free: 5.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.141, allocations: 379.2 kB / 341.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1423, allocations: 1.281 MB / 342.6 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1425, allocations: 80.55 kB / 342.7 MB, free: 4.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007638/0.1433, allocations: 350.7 kB / 343 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.1437, allocations: 274.8 kB / 343.3 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.1438, allocations: 20 kB / 343.3 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1442, allocations: 111.8 kB / 343.4 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1443, allocations: 87.7 kB / 343.5 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.1446, allocations: 167.2 kB / 343.7 MB, free: 3.09 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.1451, allocations: 466.8 kB / 344.1 MB, free: 2.633 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1451, allocations: 0 / 344.1 MB, free: 2.633 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1451, allocations: 0 / 344.1 MB, free: 2.633 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1451, allocations: 0 / 344.1 MB, free: 2.633 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.0008546/0.146, allocations: 0.5848 MB / 344.7 MB, free: 2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1461, allocations: 8.031 kB / 344.7 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.1463, allocations: 40.64 kB / 344.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1467, allocations: 275.8 kB / 345 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1468, allocations: 20.94 kB / 345 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.1468, allocations: 28.36 kB / 345.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.1473, allocations: 321.5 kB / 345.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1474, allocations: 0 / 345.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.1474, allocations: 12 kB / 345.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.1474, allocations: 12 kB / 345.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.1478, allocations: 193.5 kB / 345.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1498, allocations: 1.736 MB / 347.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.15, allocations: 134.5 kB / 347.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1502, allocations: 68.84 kB / 347.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.1504, allocations: 170.2 kB / 347.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.1504, allocations: 38.56 kB / 347.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.1504, allocations: 3.938 kB / 347.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002145/0.1526, allocations: 0.7843 MB / 348.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.1526, allocations: 55.34 kB / 348.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.153, allocations: 286.5 kB / 348.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.153, allocations: 33.7 kB / 348.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1532, allocations: 199.5 kB / 349.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.1532, allocations: 71 kB / 349.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1533, allocations: 73.39 kB / 349.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1535, allocations: 334.8 kB / 349.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1536, allocations: 71.95 kB / 349.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.1539, allocations: 187.2 kB / 349.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.1542, allocations: 287.4 kB / 350.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1543, allocations: 4 kB / 350.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005519/0.1548, allocations: 329.6 kB / 350.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.1549, allocations: 8 kB / 350.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/0.1549, allocations: 4.5 kB / 350.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.155, allocations: 36.72 kB / 350.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.1554, allocations: 83.89 kB / 350.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.1565, allocations: 1.288 MB / 351.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1567, allocations: 19.98 kB / 351.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1568, allocations: 12 kB / 351.9 MB, free: 10.18 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.0001758/0.157, allocations: 157.7 kB / 352 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.157, allocations: 35.56 kB / 352.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.1574, allocations: 205.8 kB / 352.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1574, allocations: 4 kB / 352.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1574, allocations: 3.984 kB / 352.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003936/0.1578, allocations: 487.7 kB / 352.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.159, allocations: 0.7721 MB / 353.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.159, allocations: 8 kB / 353.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1592, allocations: 39.98 kB / 353.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1592, allocations: 4 kB / 353.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1592, allocations: 12.28 kB / 353.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.1592, allocations: 11.92 kB / 353.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1592, allocations: 0 / 353.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.1597, allocations: 403.2 kB / 354 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1598, allocations: 100.9 kB / 354.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1598, allocations: 11.98 kB / 354.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1601, allocations: 16.06 kB / 354.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1601, allocations: 15.92 kB / 354.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.1602, allocations: 15.98 kB / 354.1 MB, free: 7.645 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1604, allocations: 205.9 kB / 354.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1604, allocations: 0 / 354.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.1609, allocations: 103.9 kB / 354.4 MB, free: 7.344 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.0003596/0.1613, allocations: 147.1 kB / 354.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.1618, allocations: 307.1 kB / 354.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1618, allocations: 0 / 354.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1619, allocations: 75.98 kB / 355 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.1629, allocations: 162.2 kB / 355.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.164, allocations: 0.7171 MB / 355.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1644, allocations: 0.7603 MB / 356.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002961/0.1647, allocations: 58.5 kB / 356.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.1648, allocations: 31.44 kB / 356.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1648, allocations: 0 / 356.7 MB, free: 4.996 MB / 302.1 MB Notification: Performance of Templates: time 0.01113/0.1759, allocations: 5.352 MB / 362 MB, free: 15.64 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)