Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009947/0.0009947, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 185.2 kB / 16.92 MB, free: 6.926 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9386/0.9386, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1595, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005672/0.1652, allocations: 4.377 MB / 0.5929 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.1682, allocations: 2.672 MB / 0.5955 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1684, allocations: 4 kB / 0.5955 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1687, allocations: 39.73 kB / 0.5955 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1691, allocations: 87.48 kB / 0.5956 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1704, allocations: 464.5 kB / 0.596 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.1708, allocations: 319.8 kB / 0.5964 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.1708, allocations: 5.562 kB / 0.5964 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1711, allocations: 107.6 kB / 0.5965 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1713, allocations: 95.59 kB / 0.5966 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.1713, allocations: 4 kB / 0.5966 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008049/0.1721, allocations: 375.2 kB / 0.5969 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.1722, allocations: 35.89 kB / 0.5969 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1723, allocations: 109.3 kB / 0.5971 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.1728, allocations: 243.7 kB / 0.5973 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1728, allocations: 0 / 0.5973 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1728, allocations: 0 / 0.5973 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1729, allocations: 0 / 0.5973 GB, free: 9.684 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.0007252/0.1736, allocations: 471.3 kB / 0.5977 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1736, allocations: 8.031 kB / 0.5977 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1738, allocations: 28.73 kB / 0.5978 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1741, allocations: 212.1 kB / 0.598 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1741, allocations: 16.64 kB / 0.598 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1741, allocations: 16.38 kB / 0.598 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.1745, allocations: 240.2 kB / 0.5982 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1745, allocations: 4 kB / 0.5982 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1746, allocations: 11.98 kB / 0.5982 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.1746, allocations: 12 kB / 0.5983 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.1751, allocations: 423.5 kB / 0.5987 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1763, allocations: 0.9565 MB / 0.5996 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1766, allocations: 154.3 kB / 0.5997 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1767, allocations: 68.86 kB / 0.5998 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.1783, allocations: 1.825 MB / 0.6016 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1784, allocations: 38.5 kB / 0.6016 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1784, allocations: 0 / 0.6016 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000321/0.1787, allocations: 141.5 kB / 0.6018 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1788, allocations: 55.34 kB / 0.6018 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.1789, allocations: 174.5 kB / 0.602 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1789, allocations: 33.69 kB / 0.602 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.179, allocations: 139.8 kB / 0.6021 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.1791, allocations: 55.2 kB / 0.6022 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1791, allocations: 29.7 kB / 0.6022 GB, free: 4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1792, allocations: 318.8 kB / 0.6025 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-05/0.1793, allocations: 39.97 kB / 0.6026 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1795, allocations: 143.2 kB / 0.6027 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1797, allocations: 193.5 kB / 0.6029 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1797, allocations: 0 / 0.6029 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003277/0.18, allocations: 219.9 kB / 0.6031 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1801, allocations: 8 kB / 0.6031 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1801, allocations: 4 kB / 0.6031 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1801, allocations: 4 kB / 0.6031 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1803, allocations: 59.8 kB / 0.6032 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.1803, allocations: 11.98 kB / 0.6032 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1804, allocations: 27.69 kB / 0.6032 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.1805, allocations: 12 kB / 0.6032 GB, free: 2.871 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.1806, allocations: 130.6 kB / 0.6033 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1806, allocations: 15.81 kB / 0.6034 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.181, allocations: 162.9 kB / 0.6035 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.181, allocations: 7.938 kB / 0.6035 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.181, allocations: 4 kB / 0.6035 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.181, allocations: 0 / 0.6035 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.1813, allocations: 217.5 kB / 0.6037 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1813, allocations: 0 / 0.6037 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.1814, allocations: 20 kB / 0.6038 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1814, allocations: 7.984 kB / 0.6038 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.1814, allocations: 11.98 kB / 0.6038 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1814, allocations: 7.875 kB / 0.6038 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1814, allocations: 0 / 0.6038 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1817, allocations: 211.3 kB / 0.604 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.889e-05/0.1818, allocations: 112.9 kB / 0.6041 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1818, allocations: 4 kB / 0.6041 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.182, allocations: 23.92 kB / 0.6041 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.182, allocations: 11.98 kB / 0.6041 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1821, allocations: 12 kB / 0.6041 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.1822, allocations: 116.7 kB / 0.6043 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1822, allocations: 0 / 0.6043 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004144/0.1826, allocations: 79.92 kB / 0.6043 GB, free: 1.637 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 (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.0003727/0.183, allocations: 183 kB / 0.6045 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1832, allocations: 127.6 kB / 0.6046 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1832, allocations: 0 / 0.6046 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.1833, allocations: 44.11 kB / 0.6047 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.1838, allocations: 51.45 kB / 0.6047 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007656/0.1846, allocations: 463.2 kB / 0.6052 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1849, allocations: 0.7131 MB / 0.6059 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2537/0.4386, allocations: 26.83 kB / 0.6059 GB, free: 48.9 MB / 0.4981 GB Notification: Performance of SimCode: time 8.81e-07/0.4386, allocations: 0 / 0.6059 GB, free: 48.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.004384/0.443, allocations: 3.133 MB / 0.6089 GB, free: 48.71 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)