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.0007773/0.0007774, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005378/0.005378, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7763/0.7763, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005921/0.0005923, allocations: 9.062 kB / 0.504 GB, free: 3.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.487, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005185/0.4922, allocations: 4.372 MB / 0.5879 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.4955, allocations: 2.684 MB / 0.5905 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.4957, allocations: 1.219 kB / 0.5905 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.496, allocations: 40.78 kB / 0.5906 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.4963, allocations: 85.48 kB / 0.5907 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.4978, allocations: 471 kB / 0.5911 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.4983, allocations: 304.4 kB / 0.5914 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.572e-05/0.4983, allocations: 9.281 kB / 0.5914 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.4986, allocations: 112.3 kB / 0.5915 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.4988, allocations: 94.11 kB / 0.5916 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.4988, allocations: 6.781 kB / 0.5916 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009779/0.4998, allocations: 379.4 kB / 0.592 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.4999, allocations: 34.31 kB / 0.592 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.5, allocations: 109.1 kB / 0.5921 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.5008, allocations: 359.7 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5008, allocations: 3.938 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5008, allocations: 0 / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.5008, allocations: 0.8125 kB / 0.5925 GB, free: 14.04 MB / 446.1 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.000829/0.5016, allocations: 472.7 kB / 0.5929 GB, free: 13.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5017, allocations: 13.41 kB / 0.5929 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.5019, allocations: 22.72 kB / 0.5929 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.5021, allocations: 213.1 kB / 0.5931 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.5022, allocations: 11.78 kB / 0.5932 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.5022, allocations: 18.48 kB / 0.5932 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.5026, allocations: 246.4 kB / 0.5934 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5027, allocations: 9.891 kB / 0.5934 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.5027, allocations: 6.5 kB / 0.5934 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.5027, allocations: 9.953 kB / 0.5934 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.5034, allocations: 428.7 kB / 0.5938 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.5046, allocations: 0.9549 MB / 0.5948 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.505, allocations: 156 kB / 0.5949 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.5051, allocations: 69.16 kB / 0.595 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.5066, allocations: 1.824 MB / 0.5968 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5066, allocations: 38.11 kB / 0.5968 GB, free: 10.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.5066, allocations: 0 / 0.5968 GB, free: 10.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004255/0.5071, allocations: 145.9 kB / 0.597 GB, free: 10.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5071, allocations: 62.64 kB / 0.597 GB, free: 9.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.5073, allocations: 169.2 kB / 0.5972 GB, free: 9.852 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.5074, allocations: 35.17 kB / 0.5972 GB, free: 9.812 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5075, allocations: 137 kB / 0.5973 GB, free: 9.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.5075, allocations: 55.31 kB / 0.5974 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.5076, allocations: 27.89 kB / 0.5974 GB, free: 9.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5078, allocations: 327.7 kB / 0.5977 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.5078, allocations: 35.33 kB / 0.5978 GB, free: 9.293 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.508, allocations: 138.9 kB / 0.5979 GB, free: 9.148 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.5083, allocations: 197.9 kB / 0.5981 GB, free: 8.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5083, allocations: 1.375 kB / 0.5981 GB, free: 8.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000363/0.5087, allocations: 217 kB / 0.5983 GB, free: 8.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5087, allocations: 6.719 kB / 0.5983 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5087, allocations: 2.781 kB / 0.5983 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5088, allocations: 6.406 kB / 0.5983 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.509, allocations: 58.09 kB / 0.5984 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.509, allocations: 10.2 kB / 0.5984 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.5091, allocations: 25.88 kB / 0.5984 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.5092, allocations: 15.3 kB / 0.5984 GB, free: 8.832 MB / 446.1 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.0001167/0.5093, allocations: 136.4 kB / 0.5985 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.5093, allocations: 12.09 kB / 0.5986 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.5097, allocations: 161.9 kB / 0.5987 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.5097, allocations: 6.062 kB / 0.5987 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5097, allocations: 1.359 kB / 0.5987 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.5097, allocations: 0.6094 kB / 0.5987 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.51, allocations: 216.8 kB / 0.5989 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.51, allocations: 1.25 kB / 0.5989 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.5101, allocations: 25.39 kB / 0.5989 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5101, allocations: 1.094 kB / 0.5989 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.5102, allocations: 7.281 kB / 0.599 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5102, allocations: 7.938 kB / 0.599 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5102, allocations: 1.797 kB / 0.599 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.5104, allocations: 218.1 kB / 0.5992 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5105, allocations: 114.7 kB / 0.5993 GB, free: 8.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5106, allocations: 6.188 kB / 0.5993 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.5108, allocations: 23.53 kB / 0.5993 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.5108, allocations: 9.391 kB / 0.5993 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.5109, allocations: 12.31 kB / 0.5993 GB, free: 8.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.511, allocations: 123.1 kB / 0.5994 GB, free: 8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.511, allocations: 0 / 0.5994 GB, free: 8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.5115, allocations: 75.75 kB / 0.5995 GB, free: 7.984 MB / 446.1 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.0003967/0.5119, allocations: 183.4 kB / 0.5997 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.5121, allocations: 118.2 kB / 0.5998 GB, free: 7.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5121, allocations: 0 / 0.5998 GB, free: 7.832 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.5122, allocations: 44.67 kB / 0.5999 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.5127, allocations: 51.09 kB / 0.5999 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.5135, allocations: 439.7 kB / 0.6003 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.5138, allocations: 0.7103 MB / 0.601 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.514, allocations: 49.31 kB / 0.6011 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.5141, allocations: 26.61 kB / 0.6011 GB, free: 6.816 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5141, allocations: 0 / 0.6011 GB, free: 6.816 MB / 446.1 MB Notification: Performance of Templates: time 0.007085/0.5212, allocations: 3.289 MB / 0.6043 GB, free: 5.41 MB / 446.1 MB 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)