Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008082/0.0008083, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005062/0.005062, allocations: 170 kB / 16.26 MB, free: 6.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.486/1.486, 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-master/package.mo): time 0.9652/0.9652, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 8 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001699/0.1695, allocations: 1.207 MB / 0.5892 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5067/0.6762, allocations: 128.5 MB / 0.7147 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.6763, allocations: 1.25 kB / 0.7147 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.6764, allocations: 0.5625 kB / 0.7147 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.005e-05/0.6765, allocations: 14.48 kB / 0.7147 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.6769, allocations: 56.16 kB / 0.7147 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.771e-05/0.677, allocations: 45.75 kB / 0.7148 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.6771, allocations: 18.55 kB / 0.7148 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.6772, allocations: 22.7 kB / 0.7148 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.6772, allocations: 25.03 kB / 0.7149 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.6772, allocations: 1.188 kB / 0.7149 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.6773, allocations: 15.27 kB / 0.7149 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.6774, allocations: 3.109 kB / 0.7149 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.6774, allocations: 45.08 kB / 0.7149 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.6776, allocations: 60.94 kB / 0.715 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6776, allocations: 0 / 0.715 GB, free: 13.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.206e-06/0.6776, allocations: 7.938 kB / 0.715 GB, free: 13.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.6776, allocations: 5.156 kB / 0.715 GB, free: 13.39 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005494/0.6782, allocations: 370.6 kB / 0.7153 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6782, allocations: 10.16 kB / 0.7153 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.6782, allocations: 11.08 kB / 0.7154 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.6784, allocations: 169.5 kB / 0.7155 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6784, allocations: 1.531 kB / 0.7155 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.6784, allocations: 11.08 kB / 0.7155 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.6787, allocations: 81.7 kB / 0.7156 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6787, allocations: 4.188 kB / 0.7156 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.6788, allocations: 4.547 kB / 0.7156 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6788, allocations: 1.031 kB / 0.7156 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.6791, allocations: 94.06 kB / 0.7157 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.6795, allocations: 286.1 kB / 0.716 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.6798, allocations: 65.61 kB / 0.716 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.68, allocations: 50.8 kB / 0.7161 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.6801, allocations: 92.73 kB / 0.7162 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.6802, allocations: 36.41 kB / 0.7162 GB, free: 12.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.6802, allocations: 0 / 0.7162 GB, free: 12.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006144/0.6808, allocations: 158.6 kB / 0.7164 GB, free: 12.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.6809, allocations: 57.75 kB / 0.7164 GB, free: 12.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.681, allocations: 116.6 kB / 0.7165 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.681, allocations: 27.11 kB / 0.7166 GB, free: 12.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.681, allocations: 88.38 kB / 0.7166 GB, free: 11.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.6811, allocations: 9.672 kB / 0.7167 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.6811, allocations: 14.42 kB / 0.7167 GB, free: 11.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6812, allocations: 318.6 kB / 0.717 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.6814, allocations: 44.45 kB / 0.717 GB, free: 11.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.6816, allocations: 45.22 kB / 0.7171 GB, free: 11.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.6819, allocations: 98.98 kB / 0.7171 GB, free: 11.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6819, allocations: 0 / 0.7171 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000373/0.6823, allocations: 118.9 kB / 0.7173 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6823, allocations: 5.859 kB / 0.7173 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6823, allocations: 3.938 kB / 0.7173 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.6823, allocations: 0 / 0.7173 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.6825, allocations: 21.7 kB / 0.7173 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.6825, allocations: 0 / 0.7173 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6826, allocations: 32.44 kB / 0.7173 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.6826, allocations: 1.812 kB / 0.7173 GB, free: 11.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 8.45e-05/0.6827, allocations: 116.4 kB / 0.7174 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.6827, allocations: 3.125 kB / 0.7174 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.6832, allocations: 130.6 kB / 0.7176 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6832, allocations: 0 / 0.7176 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6832, allocations: 1.656 kB / 0.7176 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6832, allocations: 4.703 kB / 0.7176 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.6834, allocations: 176.6 kB / 0.7177 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6834, allocations: 3.781 kB / 0.7177 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.6835, allocations: 20.53 kB / 0.7178 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6835, allocations: 5.266 kB / 0.7178 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.6835, allocations: 0.6094 kB / 0.7178 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.6835, allocations: 1.5 kB / 0.7178 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6835, allocations: 0 / 0.7178 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.6839, allocations: 230.1 kB / 0.718 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.684, allocations: 79.02 kB / 0.7181 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.684, allocations: 1.734 kB / 0.7181 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6841, allocations: 17.09 kB / 0.7181 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.6842, allocations: 7.578 kB / 0.7181 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.6842, allocations: 1.031 kB / 0.7181 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.6843, allocations: 96.84 kB / 0.7182 GB, free: 10.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6843, allocations: 0 / 0.7182 GB, free: 10.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002454/0.6845, allocations: 12.22 kB / 0.7182 GB, free: 10.76 MB / 0.545 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.000146/0.6847, allocations: 104.6 kB / 0.7183 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003828/0.6851, allocations: 94.27 kB / 0.7184 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6851, allocations: 0 / 0.7184 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.6853, allocations: 48.89 kB / 0.7184 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.6856, allocations: 21.28 kB / 0.7185 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.686, allocations: 184.3 kB / 0.7186 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.6862, allocations: 0.683 MB / 0.7193 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.92e-05/0.6862, allocations: 2.812 kB / 0.7193 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.6863, allocations: 9.906 kB / 0.7193 GB, free: 9.789 MB / 0.545 GB Notification: Performance of SimCode: time 2.084e-06/0.6863, allocations: 0 / 0.7193 GB, free: 9.789 MB / 0.545 GB Notification: Performance of Templates: time 0.003374/0.6897, allocations: 0.8482 MB / 0.7201 GB, free: 9.699 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)