Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006841/0.006841, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001298/0.001298, allocations: 192 kB / 16.67 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8107/0.8107, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 62.33 kB / 0.5814 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 80.21 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01552/0.1795, allocations: 12.98 MB / 0.6724 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1822, allocations: 2.664 MB / 0.675 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.1823, allocations: 7.938 kB / 0.675 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1826, allocations: 35.75 kB / 0.6751 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.1829, allocations: 99.34 kB / 0.6751 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1841, allocations: 0.5074 MB / 0.6756 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.1843, allocations: 239.9 kB / 0.6759 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.1844, allocations: 5.562 kB / 0.6759 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008073/0.1925, allocations: 3.579 MB / 0.6794 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1927, allocations: 91.59 kB / 0.6795 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.1927, allocations: 8 kB / 0.6795 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.1952, allocations: 1.076 MB / 0.6805 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.1953, allocations: 39.83 kB / 0.6806 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1954, allocations: 83.59 kB / 0.6806 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.1962, allocations: 366.8 kB / 0.681 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1962, allocations: 0 / 0.681 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1962, allocations: 0 / 0.681 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.1962, allocations: 4 kB / 0.681 GB, free: 4.367 MB / 0.5137 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.0008102/0.197, allocations: 0.5064 MB / 0.6815 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1971, allocations: 8.031 kB / 0.6815 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.1972, allocations: 24.84 kB / 0.6815 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.1975, allocations: 216.1 kB / 0.6817 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1976, allocations: 12.7 kB / 0.6817 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1976, allocations: 16.31 kB / 0.6817 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.198, allocations: 248.2 kB / 0.682 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.198, allocations: 4 kB / 0.682 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.198, allocations: 4 kB / 0.682 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.1981, allocations: 8 kB / 0.682 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.1986, allocations: 435.4 kB / 0.6824 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1997, allocations: 0.9644 MB / 0.6834 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.2, allocations: 156 kB / 0.6835 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2001, allocations: 64.88 kB / 0.6836 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.2016, allocations: 1.837 MB / 0.6854 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2016, allocations: 38.56 kB / 0.6854 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.2016, allocations: 0 / 0.6854 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003334/0.202, allocations: 139.6 kB / 0.6855 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.202, allocations: 67.33 kB / 0.6856 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.2022, allocations: 171.2 kB / 0.6858 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2022, allocations: 33.7 kB / 0.6858 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2023, allocations: 144.1 kB / 0.6859 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2024, allocations: 47.59 kB / 0.686 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.2024, allocations: 53.66 kB / 0.686 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2026, allocations: 326.8 kB / 0.6863 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.2027, allocations: 43.91 kB / 0.6864 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2028, allocations: 141.7 kB / 0.6865 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.2031, allocations: 201.5 kB / 0.6867 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2031, allocations: 0 / 0.6867 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003232/0.2034, allocations: 223.9 kB / 0.6869 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2034, allocations: 4 kB / 0.6869 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2034, allocations: 4 kB / 0.6869 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.2035, allocations: 11.98 kB / 0.6869 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2036, allocations: 56.33 kB / 0.687 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2037, allocations: 11.98 kB / 0.687 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.2038, allocations: 23.84 kB / 0.687 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2038, allocations: 16 kB / 0.687 GB, free: 13.43 MB / 0.5294 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.000117/0.2039, allocations: 137.6 kB / 0.6872 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.204, allocations: 15.91 kB / 0.6872 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.2043, allocations: 152.3 kB / 0.6873 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.2043, allocations: 3.938 kB / 0.6873 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2043, allocations: 7.984 kB / 0.6873 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2043, allocations: 7.938 kB / 0.6874 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.2046, allocations: 213.6 kB / 0.6876 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2046, allocations: 0 / 0.6876 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.2047, allocations: 27.92 kB / 0.6876 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2047, allocations: 0 / 0.6876 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2047, allocations: 4 kB / 0.6876 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2047, allocations: 3.938 kB / 0.6876 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2047, allocations: 7.984 kB / 0.6876 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.205, allocations: 215.4 kB / 0.6878 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.2051, allocations: 116.9 kB / 0.6879 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.2051, allocations: 11.98 kB / 0.6879 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2053, allocations: 11.92 kB / 0.6879 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.2053, allocations: 12 kB / 0.688 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.2054, allocations: 7.984 kB / 0.688 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.533e-05/0.2055, allocations: 120.9 kB / 0.6881 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2055, allocations: 0 / 0.6881 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000365/0.2058, allocations: 83.86 kB / 0.6882 GB, free: 12.21 MB / 0.5294 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.0003229/0.2062, allocations: 186.9 kB / 0.6883 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2064, allocations: 122.3 kB / 0.6884 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2064, allocations: 0 / 0.6884 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.2065, allocations: 47.92 kB / 0.6885 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.2069, allocations: 52.58 kB / 0.6885 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.2076, allocations: 342.5 kB / 0.6889 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.2079, allocations: 0.7168 MB / 0.6896 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000154/0.2081, allocations: 50.89 kB / 0.6896 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.2081, allocations: 27.38 kB / 0.6896 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.2081, allocations: 0 / 0.6896 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.007063/0.2152, allocations: 3.635 MB / 0.6932 GB, free: 7.047 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)