Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008815/0.0008815, allocations: 98.03 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.004858/0.004858, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8729/0.8729, allocations: 135.7 MB / 427.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 9.844 kB / 0.5081 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.139, allocations: 82.41 MB / 0.5886 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004727/0.1438, allocations: 4.361 MB / 0.5928 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002788/0.1466, allocations: 2.679 MB / 0.5954 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.1467, allocations: 4 kB / 0.5955 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1468, allocations: 39.75 kB / 0.5955 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.1471, allocations: 87.48 kB / 0.5956 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.1479, allocations: 463.1 kB / 0.596 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1482, allocations: 315.8 kB / 0.5963 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.1483, allocations: 9.562 kB / 0.5963 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1485, allocations: 111.6 kB / 0.5964 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1486, allocations: 99.58 kB / 0.5965 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1486, allocations: 8 kB / 0.5965 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005725/0.1492, allocations: 363.2 kB / 0.5969 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1493, allocations: 35.89 kB / 0.5969 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.1494, allocations: 109.3 kB / 0.597 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.1499, allocations: 371.3 kB / 0.5974 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1499, allocations: 0 / 0.5974 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1499, allocations: 0 / 0.5974 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.1499, allocations: 0 / 0.5974 GB, free: 9.062 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.0006182/0.1505, allocations: 467.3 kB / 0.5978 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1506, allocations: 12.03 kB / 0.5978 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1507, allocations: 20.75 kB / 0.5978 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1509, allocations: 220.1 kB / 0.5981 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.1509, allocations: 12.7 kB / 0.5981 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.151, allocations: 16.31 kB / 0.5981 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.1513, allocations: 248.3 kB / 0.5983 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1513, allocations: 0 / 0.5983 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.1514, allocations: 8 kB / 0.5983 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1514, allocations: 4 kB / 0.5983 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.1519, allocations: 435.4 kB / 0.5987 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.153, allocations: 0.9565 MB / 0.5997 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1532, allocations: 159 kB / 0.5998 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.492e-05/0.1533, allocations: 56.84 kB / 0.5999 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.1547, allocations: 1.833 MB / 0.6017 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1548, allocations: 38.55 kB / 0.6017 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.173e-06/0.1548, allocations: 0 / 0.6017 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002921/0.1551, allocations: 141.4 kB / 0.6019 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1551, allocations: 55.34 kB / 0.6019 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1553, allocations: 170.6 kB / 0.6021 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1553, allocations: 29.7 kB / 0.6021 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.1554, allocations: 139.8 kB / 0.6022 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1555, allocations: 63.19 kB / 0.6023 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1555, allocations: 29.7 kB / 0.6023 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1556, allocations: 326.8 kB / 0.6026 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.1557, allocations: 39.92 kB / 0.6027 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.1559, allocations: 133.7 kB / 0.6028 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1561, allocations: 196.9 kB / 0.603 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1561, allocations: 4 kB / 0.603 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003138/0.1564, allocations: 217.4 kB / 0.6032 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1565, allocations: 11.94 kB / 0.6032 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1565, allocations: 4 kB / 0.6032 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1565, allocations: 4 kB / 0.6032 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1567, allocations: 59.84 kB / 0.6033 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.1567, allocations: 8 kB / 0.6033 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1568, allocations: 27.69 kB / 0.6033 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1568, allocations: 12 kB / 0.6033 GB, free: 2.246 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 0.000116/0.1569, allocations: 149.9 kB / 0.6035 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.157, allocations: 11.91 kB / 0.6035 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1572, allocations: 155 kB / 0.6036 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1573, allocations: 3.938 kB / 0.6036 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1573, allocations: 0 / 0.6036 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1573, allocations: 0 / 0.6036 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1575, allocations: 217.5 kB / 0.6038 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1575, allocations: 4 kB / 0.6038 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.1576, allocations: 23.92 kB / 0.6039 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1576, allocations: 8 kB / 0.6039 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1577, allocations: 4 kB / 0.6039 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1577, allocations: 3.938 kB / 0.6039 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1577, allocations: 0 / 0.6039 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1579, allocations: 223.3 kB / 0.6041 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.158, allocations: 104.9 kB / 0.6042 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.158, allocations: 0 / 0.6042 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1582, allocations: 27.92 kB / 0.6042 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.1583, allocations: 11.98 kB / 0.6042 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.1583, allocations: 12 kB / 0.6042 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.423e-05/0.1584, allocations: 124.6 kB / 0.6044 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1584, allocations: 0 / 0.6044 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004485/0.1588, allocations: 79.94 kB / 0.6044 GB, free: 1.008 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.0002883/0.1591, allocations: 183.1 kB / 0.6046 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1593, allocations: 118.7 kB / 0.6047 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1594, allocations: 0.9375 kB / 0.6047 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.1594, allocations: 51.84 kB / 0.6048 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1598, allocations: 51.91 kB / 0.6048 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.1605, allocations: 429.5 kB / 0.6052 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1982/0.3587, allocations: 0.7093 MB / 0.6059 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.3589, allocations: 42.48 kB / 0.606 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.3589, allocations: 26.77 kB / 0.606 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.3589, allocations: 0 / 0.606 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.005458/0.3644, allocations: 3.288 MB / 0.6092 GB, free: 48.36 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)