Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7023/0.7023, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 404.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 103.6 kB / 485.9 MB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1533, allocations: 80.42 MB / 0.6421 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01844/0.1718, allocations: 13.85 MB / 0.6557 GB, free: 7.477 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.1751, allocations: 2.695 MB / 0.6583 GB, free: 4.773 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1753, allocations: 0 / 0.6583 GB, free: 4.773 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.1756, allocations: 39.8 kB / 0.6583 GB, free: 4.734 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1759, allocations: 91.48 kB / 0.6584 GB, free: 4.645 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1773, allocations: 466.6 kB / 0.6589 GB, free: 4.191 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.1777, allocations: 307.9 kB / 0.6592 GB, free: 3.891 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.1777, allocations: 13.5 kB / 0.6592 GB, free: 3.875 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008765/0.1865, allocations: 3.162 MB / 0.6623 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1867, allocations: 95.66 kB / 0.6624 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1867, allocations: 8 kB / 0.6624 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.1893, allocations: 0.9721 MB / 0.6633 GB, free: 15.62 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.1894, allocations: 35.89 kB / 0.6633 GB, free: 15.59 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1895, allocations: 87.58 kB / 0.6634 GB, free: 15.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007994/0.1903, allocations: 355.1 kB / 0.6638 GB, free: 15.15 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1903, allocations: 0 / 0.6638 GB, free: 15.15 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1903, allocations: 0 / 0.6638 GB, free: 15.15 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1903, allocations: 0 / 0.6638 GB, free: 15.15 MB / 474.7 MB 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.0007758/0.1911, allocations: 0.5094 MB / 0.6643 GB, free: 14.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1912, allocations: 8.031 kB / 0.6643 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1913, allocations: 24.84 kB / 0.6643 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1916, allocations: 216.1 kB / 0.6645 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1916, allocations: 12.69 kB / 0.6645 GB, free: 14.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1916, allocations: 16.38 kB / 0.6645 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.192, allocations: 252.2 kB / 0.6648 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.192, allocations: 0 / 0.6648 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.1921, allocations: 11.98 kB / 0.6648 GB, free: 14.01 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.1921, allocations: 8 kB / 0.6648 GB, free: 14 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.1926, allocations: 431.3 kB / 0.6652 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.1937, allocations: 0.9566 MB / 0.6661 GB, free: 12.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.194, allocations: 168 kB / 0.6663 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.1942, allocations: 64.81 kB / 0.6664 GB, free: 12.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.1956, allocations: 1.837 MB / 0.6682 GB, free: 10.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1956, allocations: 34.56 kB / 0.6682 GB, free: 10.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.1956, allocations: 0 / 0.6682 GB, free: 10.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003434/0.196, allocations: 146.8 kB / 0.6683 GB, free: 9.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.196, allocations: 55.34 kB / 0.6684 GB, free: 9.844 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1962, allocations: 180.6 kB / 0.6685 GB, free: 9.656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1962, allocations: 29.69 kB / 0.6686 GB, free: 9.621 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.1963, allocations: 147.7 kB / 0.6687 GB, free: 9.473 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1963, allocations: 51.27 kB / 0.6688 GB, free: 9.422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.1964, allocations: 49.7 kB / 0.6688 GB, free: 9.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1965, allocations: 326.8 kB / 0.6691 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.1966, allocations: 31.98 kB / 0.6692 GB, free: 9.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.1967, allocations: 145.6 kB / 0.6693 GB, free: 8.816 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.197, allocations: 199.5 kB / 0.6695 GB, free: 8.574 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.197, allocations: 7.938 kB / 0.6695 GB, free: 8.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003139/0.1973, allocations: 213.3 kB / 0.6697 GB, free: 8.352 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1973, allocations: 8 kB / 0.6697 GB, free: 8.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1974, allocations: 4 kB / 0.6697 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1974, allocations: 4 kB / 0.6697 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.1976, allocations: 63.78 kB / 0.6698 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1976, allocations: 8 kB / 0.6698 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1977, allocations: 23.75 kB / 0.6698 GB, free: 8.242 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1977, allocations: 12 kB / 0.6698 GB, free: 8.23 MB / 474.7 MB 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.0001199/0.1978, allocations: 138 kB / 0.6699 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1979, allocations: 23.8 kB / 0.67 GB, free: 8.062 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1982, allocations: 154.9 kB / 0.6701 GB, free: 7.902 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.1982, allocations: 7.922 kB / 0.6701 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1982, allocations: 0 / 0.6701 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1982, allocations: 0 / 0.6701 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1985, allocations: 217.5 kB / 0.6703 GB, free: 7.633 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1985, allocations: 4 kB / 0.6703 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.1986, allocations: 23.98 kB / 0.6704 GB, free: 7.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1986, allocations: 4 kB / 0.6704 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1986, allocations: 4 kB / 0.6704 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1986, allocations: 3.938 kB / 0.6704 GB, free: 7.594 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1986, allocations: 0 / 0.6704 GB, free: 7.594 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.1992, allocations: 0.8117 MB / 0.6712 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.1993, allocations: 112.8 kB / 0.6713 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1993, allocations: 8 kB / 0.6713 GB, free: 6.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1995, allocations: 15.98 kB / 0.6713 GB, free: 6.574 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.1996, allocations: 11.92 kB / 0.6713 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1996, allocations: 12 kB / 0.6713 GB, free: 6.551 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.1997, allocations: 123.9 kB / 0.6714 GB, free: 6.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1997, allocations: 3.938 kB / 0.6714 GB, free: 6.426 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004643/0.2002, allocations: 72 kB / 0.6715 GB, free: 6.355 MB / 474.7 MB 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.0003498/0.2005, allocations: 179.1 kB / 0.6717 GB, free: 6.172 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.2008, allocations: 126.5 kB / 0.6718 GB, free: 6.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2008, allocations: 0 / 0.6718 GB, free: 6.051 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.448e-05/0.2008, allocations: 43.92 kB / 0.6718 GB, free: 6.008 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2013, allocations: 57.55 kB / 0.6719 GB, free: 5.953 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008185/0.2021, allocations: 0.5269 MB / 0.6724 GB, free: 5.387 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.2024, allocations: 0.7209 MB / 0.6731 GB, free: 4.641 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.2026, allocations: 49.72 kB / 0.6732 GB, free: 4.594 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.2026, allocations: 27.44 kB / 0.6732 GB, free: 4.566 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2027, allocations: 4 kB / 0.6732 GB, free: 4.562 MB / 474.7 MB Notification: Performance of Templates: time 0.006832/0.2095, allocations: 3.576 MB / 0.6767 GB, free: 1.023 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)