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.001227/0.001227, allocations: 112.6 kB / 16.37 MB, free: 6 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.0015/0.0015, allocations: 196 kB / 17.31 MB, free: 5.613 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8336/0.8336, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3511, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005354/0.3565, allocations: 4.726 MB / 0.5861 GB, free: 23.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.3587, allocations: 2.697 MB / 0.5887 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.3589, allocations: 2.25 kB / 0.5887 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3592, allocations: 55.03 kB / 0.5888 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.3595, allocations: 91.48 kB / 0.5889 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3607, allocations: 0.5101 MB / 0.5894 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.361, allocations: 227.8 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.361, allocations: 13.12 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3612, allocations: 117.9 kB / 0.5897 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3614, allocations: 89.78 kB / 0.5898 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3614, allocations: 6.906 kB / 0.5898 GB, free: 20.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.3621, allocations: 373.1 kB / 0.5902 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.3622, allocations: 34.11 kB / 0.5902 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.3623, allocations: 77.61 kB / 0.5903 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.363, allocations: 361.5 kB / 0.5906 GB, free: 20.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.363, allocations: 5.141 kB / 0.5906 GB, free: 20.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.363, allocations: 0 / 0.5906 GB, free: 20.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.363, allocations: 0 / 0.5906 GB, free: 20.47 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.0006726/0.3637, allocations: 0.5013 MB / 0.5911 GB, free: 19.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3637, allocations: 9.25 kB / 0.5911 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.3639, allocations: 21.31 kB / 0.5911 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3641, allocations: 214.3 kB / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3642, allocations: 12.14 kB / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3642, allocations: 18.69 kB / 0.5914 GB, free: 19.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.3645, allocations: 246.5 kB / 0.5916 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3646, allocations: 3.125 kB / 0.5916 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.3646, allocations: 14.77 kB / 0.5916 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.3646, allocations: 5.156 kB / 0.5916 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.365, allocations: 437.4 kB / 0.592 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.366, allocations: 0.9444 MB / 0.593 GB, free: 18.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3662, allocations: 162.7 kB / 0.5931 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.3663, allocations: 68.47 kB / 0.5932 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000902/0.3672, allocations: 1.817 MB / 0.595 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3672, allocations: 42.5 kB / 0.595 GB, free: 15.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3672, allocations: 0 / 0.595 GB, free: 15.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002937/0.3675, allocations: 144.3 kB / 0.5951 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.3676, allocations: 60 kB / 0.5952 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3677, allocations: 170.1 kB / 0.5954 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3677, allocations: 33.7 kB / 0.5954 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.3678, allocations: 145.8 kB / 0.5955 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3678, allocations: 43.36 kB / 0.5956 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3679, allocations: 53.61 kB / 0.5956 GB, free: 15.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.743e-05/0.3679, allocations: 327.9 kB / 0.5959 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.368, allocations: 35.91 kB / 0.596 GB, free: 14.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.449e-05/0.3681, allocations: 151.2 kB / 0.5961 GB, free: 14.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3682, allocations: 197 kB / 0.5963 GB, free: 14.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3683, allocations: 0 / 0.5963 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002731/0.3685, allocations: 227.3 kB / 0.5965 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3686, allocations: 8 kB / 0.5965 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3686, allocations: 0 / 0.5965 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.3686, allocations: 9 kB / 0.5965 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3688, allocations: 55.86 kB / 0.5966 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3688, allocations: 7.984 kB / 0.5966 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3689, allocations: 26.34 kB / 0.5966 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3689, allocations: 12 kB / 0.5966 GB, free: 13.98 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 7.437e-05/0.369, allocations: 134.4 kB / 0.5968 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.369, allocations: 11.91 kB / 0.5968 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.3693, allocations: 159.5 kB / 0.5969 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.3693, allocations: 5.531 kB / 0.5969 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3693, allocations: 4 kB / 0.5969 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3693, allocations: 0 / 0.5969 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.3695, allocations: 213.6 kB / 0.5971 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3695, allocations: 3.938 kB / 0.5971 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/0.3696, allocations: 22.31 kB / 0.5972 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3696, allocations: 0 / 0.5972 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3696, allocations: 7.984 kB / 0.5972 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3697, allocations: 7.938 kB / 0.5972 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3697, allocations: 3.938 kB / 0.5972 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3699, allocations: 217.3 kB / 0.5974 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.3699, allocations: 112.8 kB / 0.5975 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.37, allocations: 7.984 kB / 0.5975 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.3702, allocations: 16.73 kB / 0.5975 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.3702, allocations: 8 kB / 0.5975 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.3702, allocations: 12.89 kB / 0.5975 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.917e-05/0.3703, allocations: 124.9 kB / 0.5977 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3703, allocations: 0.5312 kB / 0.5977 GB, free: 12.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.3707, allocations: 81.42 kB / 0.5977 GB, free: 12.77 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.0002933/0.371, allocations: 185.3 kB / 0.5979 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3713, allocations: 115.2 kB / 0.598 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3713, allocations: 4.531 kB / 0.598 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.3713, allocations: 41.05 kB / 0.5981 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3717, allocations: 50.08 kB / 0.5981 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.3723, allocations: 351.9 kB / 0.5984 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.3724, allocations: 0.7127 MB / 0.5991 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.3726, allocations: 48 kB / 0.5992 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.3726, allocations: 23.44 kB / 0.5992 GB, free: 11.22 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3726, allocations: 0 / 0.5992 GB, free: 11.22 MB / 446.1 MB Notification: Performance of Templates: time 0.006066/0.3787, allocations: 3.414 MB / 0.6025 GB, free: 7.859 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)