Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008311/0.0008312, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008888/0.0008889, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8568/0.8568, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002876, allocations: 13.53 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 82.31 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004411/0.1525, allocations: 3.924 MB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1546, allocations: 2.179 MB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.1547, allocations: 0 / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.1549, allocations: 47.66 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1551, allocations: 79.77 kB / 0.5933 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.1559, allocations: 432.9 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1561, allocations: 152.7 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.1562, allocations: 5.562 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.1563, allocations: 107.7 kB / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.1564, allocations: 71.75 kB / 0.594 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1565, allocations: 8 kB / 0.594 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.157, allocations: 291.6 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.157, allocations: 39.89 kB / 0.5943 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.1571, allocations: 53.64 kB / 0.5944 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1574, allocations: 223.7 kB / 0.5946 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1574, allocations: 0 / 0.5946 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1574, allocations: 0 / 0.5946 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1574, allocations: 4 kB / 0.5946 GB, free: 11.54 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005842/0.158, allocations: 469 kB / 0.595 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1581, allocations: 8.031 kB / 0.595 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1582, allocations: 31.77 kB / 0.5951 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1584, allocations: 210.8 kB / 0.5953 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1584, allocations: 12.33 kB / 0.5953 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1585, allocations: 12 kB / 0.5953 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.1588, allocations: 240.1 kB / 0.5955 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1588, allocations: 0 / 0.5955 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1588, allocations: 11.98 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1589, allocations: 11.98 kB / 0.5955 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.1593, allocations: 427.5 kB / 0.596 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1603, allocations: 0.9916 MB / 0.5969 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1606, allocations: 155.1 kB / 0.5971 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.1618, allocations: 1.833 MB / 0.5989 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1619, allocations: 46.52 kB / 0.5989 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.1619, allocations: 0 / 0.5989 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002804/0.1621, allocations: 151.6 kB / 0.599 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1622, allocations: 55.41 kB / 0.5991 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1623, allocations: 166.5 kB / 0.5993 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1624, allocations: 29.7 kB / 0.5993 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.1624, allocations: 139.8 kB / 0.5994 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1625, allocations: 55.28 kB / 0.5995 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.1625, allocations: 8 kB / 0.5995 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1626, allocations: 330.8 kB / 0.5998 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.1627, allocations: 31.97 kB / 0.5998 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1628, allocations: 147.1 kB / 0.6 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.259e-05/0.1629, allocations: 51.98 kB / 0.6 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1629, allocations: 7.938 kB / 0.6 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002846/0.1632, allocations: 216.6 kB / 0.6002 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1632, allocations: 7.953 kB / 0.6002 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1632, allocations: 4 kB / 0.6002 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1632, allocations: 8 kB / 0.6003 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.1634, allocations: 55.91 kB / 0.6003 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1634, allocations: 4 kB / 0.6003 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1636, allocations: 31.69 kB / 0.6003 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1636, allocations: 12 kB / 0.6004 GB, free: 4.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * 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 9.249e-05/0.1637, allocations: 141.9 kB / 0.6005 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.1637, allocations: 15.81 kB / 0.6005 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.164, allocations: 154.9 kB / 0.6006 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.164, allocations: 4 kB / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.164, allocations: 0 / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.164, allocations: 0 / 0.6007 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.1643, allocations: 217.5 kB / 0.6009 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1643, allocations: 0 / 0.6009 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1644, allocations: 35.92 kB / 0.6009 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1644, allocations: 0 / 0.6009 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1644, allocations: 11.98 kB / 0.6009 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1644, allocations: 7.953 kB / 0.6009 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1644, allocations: 0 / 0.6009 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.1646, allocations: 207.3 kB / 0.6011 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.1647, allocations: 120.8 kB / 0.6012 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1648, allocations: 4 kB / 0.6012 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.165, allocations: 23.98 kB / 0.6013 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.165, allocations: 11.94 kB / 0.6013 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.165, allocations: 15.98 kB / 0.6013 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.1651, allocations: 116.6 kB / 0.6014 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.663e-06/0.1651, allocations: 0 / 0.6014 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000347/0.1655, allocations: 87.86 kB / 0.6015 GB, free: 3.707 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * 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.0002382/0.1657, allocations: 171.1 kB / 0.6016 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1659, allocations: 111.8 kB / 0.6017 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1659, allocations: 0.9375 kB / 0.6017 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.166, allocations: 51.08 kB / 0.6018 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1664, allocations: 47.97 kB / 0.6018 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.1669, allocations: 415.8 kB / 0.6022 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1672, allocations: 0.7172 MB / 0.6029 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.1674, allocations: 45.89 kB / 0.603 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.1674, allocations: 31.44 kB / 0.603 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1674, allocations: 0 / 0.603 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.236/0.4034, allocations: 3.149 MB / 0.6061 GB, free: 49.13 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: