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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 100.1 kB / 15.88 MB, free: 12 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.001137/0.001137, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.928/0.928, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 64.03 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1632, allocations: 80.93 MB / 0.5843 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0164/0.1797, allocations: 13.85 MB / 0.5979 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1825, allocations: 2.699 MB / 0.6005 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.1826, allocations: 0 / 0.6005 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1829, allocations: 35.81 kB / 0.6005 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1831, allocations: 91.47 kB / 0.6006 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1843, allocations: 462.1 kB / 0.6011 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.1845, allocations: 299.9 kB / 0.6014 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.1846, allocations: 17.5 kB / 0.6014 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007628/0.1922, allocations: 3.161 MB / 0.6045 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.1924, allocations: 91.66 kB / 0.6045 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.1924, allocations: 4 kB / 0.6045 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2865/0.479, allocations: 0.9683 MB / 0.6055 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.4791, allocations: 35.03 kB / 0.6055 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.4792, allocations: 82.27 kB / 0.6056 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.4797, allocations: 252 kB / 0.6058 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4797, allocations: 0 / 0.6058 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.81e-07/0.4797, allocations: 0.625 kB / 0.6058 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.4797, allocations: 0 / 0.6058 GB, free: 39.18 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.0006449/0.4804, allocations: 0.4973 MB / 0.6063 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4804, allocations: 8.812 kB / 0.6063 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.4806, allocations: 26.41 kB / 0.6064 GB, free: 38.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.4808, allocations: 217 kB / 0.6066 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.4808, allocations: 19.39 kB / 0.6066 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4808, allocations: 13.03 kB / 0.6066 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.4811, allocations: 247.5 kB / 0.6068 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4812, allocations: 5.891 kB / 0.6068 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.4812, allocations: 12.31 kB / 0.6069 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.4812, allocations: 3.75 kB / 0.6069 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.4816, allocations: 428.4 kB / 0.6073 GB, free: 38.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.4825, allocations: 0.9607 MB / 0.6082 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.4827, allocations: 159.1 kB / 0.6084 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.4828, allocations: 62.48 kB / 0.6084 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008898/0.4837, allocations: 1.841 MB / 0.6102 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4838, allocations: 34.31 kB / 0.6102 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.4838, allocations: 0 / 0.6102 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003045/0.4841, allocations: 143.7 kB / 0.6104 GB, free: 35.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.4841, allocations: 59.28 kB / 0.6104 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4842, allocations: 164.2 kB / 0.6106 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4843, allocations: 32.23 kB / 0.6106 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.4843, allocations: 149.2 kB / 0.6108 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.4843, allocations: 51.92 kB / 0.6108 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.4844, allocations: 58.55 kB / 0.6109 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.4845, allocations: 325.8 kB / 0.6112 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.4845, allocations: 40.28 kB / 0.6112 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.4846, allocations: 143.6 kB / 0.6114 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.4848, allocations: 198.4 kB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4848, allocations: 2.969 kB / 0.6116 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002701/0.4851, allocations: 213.2 kB / 0.6118 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4851, allocations: 8.344 kB / 0.6118 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.4851, allocations: 2.875 kB / 0.6118 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.4851, allocations: 5.5 kB / 0.6118 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.4853, allocations: 53.81 kB / 0.6118 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4853, allocations: 9.812 kB / 0.6118 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4854, allocations: 33.72 kB / 0.6119 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.4855, allocations: 15.5 kB / 0.6119 GB, free: 34.7 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 7.987e-05/0.4856, allocations: 131.8 kB / 0.612 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.4856, allocations: 16.09 kB / 0.612 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.4859, allocations: 165.5 kB / 0.6122 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4859, allocations: 0 / 0.6122 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4859, allocations: 6.844 kB / 0.6122 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4859, allocations: 2.25 kB / 0.6122 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4861, allocations: 216.2 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4861, allocations: 0 / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.4862, allocations: 30.47 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4862, allocations: 0 / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4862, allocations: 2.781 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4862, allocations: 4.156 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4862, allocations: 7.594 kB / 0.6124 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.4864, allocations: 220.4 kB / 0.6126 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.4865, allocations: 114.7 kB / 0.6128 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.4866, allocations: 1.5 kB / 0.6128 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.4867, allocations: 18.91 kB / 0.6128 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.4868, allocations: 17.95 kB / 0.6128 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4868, allocations: 10.28 kB / 0.6128 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.4869, allocations: 122.9 kB / 0.6129 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4869, allocations: 0 / 0.6129 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003591/0.4872, allocations: 81.84 kB / 0.613 GB, free: 34 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.0003302/0.4876, allocations: 184.9 kB / 0.6132 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4878, allocations: 113.8 kB / 0.6133 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4878, allocations: 2.906 kB / 0.6133 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.4879, allocations: 48.69 kB / 0.6133 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4883, allocations: 58.11 kB / 0.6134 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.489, allocations: 413.8 kB / 0.6138 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.4892, allocations: 0.7166 MB / 0.6145 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.4893, allocations: 28.47 kB / 0.6145 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4893, allocations: 1.203 kB / 0.6145 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.004854/0.4941, allocations: 3.405 MB / 0.6178 GB, free: 32.6 MB / 0.4981 GB 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)