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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001089/0.001089, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001092/0.001092, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.64 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 80.21 MB / 0.6604 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.00666/0.1691, allocations: 4.718 MB / 0.665 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.1721, allocations: 2.702 MB / 0.6676 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1722, allocations: 4 kB / 0.6676 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1725, allocations: 43.67 kB / 0.6677 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.1729, allocations: 103.3 kB / 0.6678 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1743, allocations: 0.4964 MB / 0.6682 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.1747, allocations: 236 kB / 0.6685 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.1747, allocations: 5.562 kB / 0.6685 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.175, allocations: 127.5 kB / 0.6686 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1752, allocations: 87.66 kB / 0.6687 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.1753, allocations: 8 kB / 0.6687 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000847/0.1761, allocations: 367.3 kB / 0.669 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.1762, allocations: 35.89 kB / 0.6691 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1763, allocations: 87.52 kB / 0.6692 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008023/0.1771, allocations: 355.2 kB / 0.6695 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1771, allocations: 0 / 0.6695 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1772, allocations: 0 / 0.6695 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.1772, allocations: 0 / 0.6695 GB, free: 0.9219 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.0009081/0.1781, allocations: 0.507 MB / 0.67 GB, free: 372 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1781, allocations: 8.031 kB / 0.67 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.1783, allocations: 20.75 kB / 0.67 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1787, allocations: 216.1 kB / 0.6702 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1787, allocations: 8.703 kB / 0.6702 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1788, allocations: 16.38 kB / 0.6702 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.1792, allocations: 252.2 kB / 0.6705 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1792, allocations: 0 / 0.6705 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1793, allocations: 8 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.1793, allocations: 7.984 kB / 0.6705 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.1798, allocations: 435.4 kB / 0.6709 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1809, allocations: 0.9525 MB / 0.6718 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.1812, allocations: 156 kB / 0.672 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.763e-05/0.1813, allocations: 60.83 kB / 0.6721 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.1828, allocations: 1.833 MB / 0.6738 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.1828, allocations: 34.5 kB / 0.6739 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1828, allocations: 0 / 0.6739 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003612/0.1832, allocations: 137.5 kB / 0.674 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/0.1833, allocations: 67.33 kB / 0.6741 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1834, allocations: 175.1 kB / 0.6742 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1835, allocations: 29.7 kB / 0.6743 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1836, allocations: 147.8 kB / 0.6744 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.1836, allocations: 51.2 kB / 0.6745 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.1837, allocations: 53.7 kB / 0.6745 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1839, allocations: 322.8 kB / 0.6748 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.1839, allocations: 35.97 kB / 0.6748 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1841, allocations: 146.2 kB / 0.675 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1843, allocations: 204.4 kB / 0.6752 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1843, allocations: 0 / 0.6752 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003394/0.1847, allocations: 217.1 kB / 0.6754 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1847, allocations: 8 kB / 0.6754 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1847, allocations: 4 kB / 0.6754 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1847, allocations: 4 kB / 0.6754 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.1849, allocations: 60.33 kB / 0.6755 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1849, allocations: 11.98 kB / 0.6755 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1851, allocations: 27.69 kB / 0.6755 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.1851, allocations: 16 kB / 0.6755 GB, free: 10.02 MB / 0.5137 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.0001135/0.1852, allocations: 137.6 kB / 0.6756 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.1853, allocations: 15.81 kB / 0.6757 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.1856, allocations: 143.2 kB / 0.6758 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.1856, allocations: 3.938 kB / 0.6758 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1856, allocations: 3.984 kB / 0.6758 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1856, allocations: 4 kB / 0.6758 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1859, allocations: 217.5 kB / 0.676 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1859, allocations: 0 / 0.676 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.186, allocations: 31.92 kB / 0.676 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.186, allocations: 0 / 0.676 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.186, allocations: 4 kB / 0.6761 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.186, allocations: 3.938 kB / 0.6761 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.186, allocations: 3.984 kB / 0.6761 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1863, allocations: 225.5 kB / 0.6763 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.1864, allocations: 108.8 kB / 0.6764 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.1864, allocations: 4 kB / 0.6764 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1866, allocations: 15.92 kB / 0.6764 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.1867, allocations: 7.984 kB / 0.6764 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.1867, allocations: 19.92 kB / 0.6764 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.992e-05/0.1868, allocations: 120 kB / 0.6765 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1868, allocations: 0 / 0.6765 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004207/0.1872, allocations: 79.94 kB / 0.6766 GB, free: 8.797 MB / 0.5137 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.0003253/0.1875, allocations: 171.1 kB / 0.6768 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.1878, allocations: 120.5 kB / 0.6769 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1878, allocations: 4.125 kB / 0.6769 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.829e-05/0.1879, allocations: 50.16 kB / 0.6769 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.1883, allocations: 51.95 kB / 0.677 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.1891, allocations: 372.3 kB / 0.6773 GB, free: 8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1894, allocations: 0.709 MB / 0.678 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.1894, allocations: 35.42 kB / 0.6781 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1894, allocations: 0 / 0.6781 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.005828/0.1953, allocations: 3.169 MB / 0.6812 GB, free: 4.082 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile (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)