Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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/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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00164/0.00164, allocations: 189.7 kB / 16.13 MB, free: 6.664 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7713/0.7713, allocations: 132.2 MB / 422.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.72 kB / 0.5011 GB, free: 4.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3935, allocations: 80.19 MB / 0.5794 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002544/0.396, allocations: 1.34 MB / 0.5807 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1616/0.5576, allocations: 129.9 MB / 0.7076 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.5577, allocations: 0 / 0.7076 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.5578, allocations: 4 kB / 0.7076 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.5579, allocations: 7.938 kB / 0.7076 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.5583, allocations: 51.78 kB / 0.7076 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.5583, allocations: 19.86 kB / 0.7077 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.5584, allocations: 4 kB / 0.7077 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.5584, allocations: 11.94 kB / 0.7077 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.5585, allocations: 7.984 kB / 0.7077 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.5585, allocations: 0 / 0.7077 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.5586, allocations: 12 kB / 0.7077 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5586, allocations: 7.984 kB / 0.7077 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.5587, allocations: 7.938 kB / 0.7077 GB, free: 14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.5588, allocations: 29.88 kB / 0.7077 GB, free: 13.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5588, allocations: 4 kB / 0.7077 GB, free: 13.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5588, allocations: 0 / 0.7077 GB, free: 13.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.5588, allocations: 0 / 0.7077 GB, free: 13.97 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004379/0.5592, allocations: 335.5 kB / 0.7081 GB, free: 13.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5593, allocations: 8.031 kB / 0.7081 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.5593, allocations: 0.9375 kB / 0.7081 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5594, allocations: 172.4 kB / 0.7082 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/0.5595, allocations: 30.2 kB / 0.7083 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5596, allocations: 4.375 kB / 0.7083 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.5597, allocations: 38.25 kB / 0.7083 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5597, allocations: 3.938 kB / 0.7083 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.5597, allocations: 3.938 kB / 0.7083 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5597, allocations: 0 / 0.7083 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.5598, allocations: 15.98 kB / 0.7083 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.56, allocations: 157.7 kB / 0.7085 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.5601, allocations: 34.52 kB / 0.7085 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.5602, allocations: 12.94 kB / 0.7085 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.5603, allocations: 89.09 kB / 0.7086 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.5604, allocations: 30.56 kB / 0.7086 GB, free: 12.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5604, allocations: 4 kB / 0.7086 GB, free: 12.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002406/0.5606, allocations: 65.53 kB / 0.7087 GB, free: 12.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.5606, allocations: 55.39 kB / 0.7088 GB, free: 12.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.5607, allocations: 93.86 kB / 0.7088 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5607, allocations: 25.7 kB / 0.7089 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.644e-05/0.5608, allocations: 80.14 kB / 0.7089 GB, free: 12.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.5608, allocations: 11.84 kB / 0.709 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.5608, allocations: 17.7 kB / 0.709 GB, free: 12.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.5609, allocations: 318.8 kB / 0.7093 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.561, allocations: 8 kB / 0.7093 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.327e-05/0.561, allocations: 15.92 kB / 0.7093 GB, free: 12.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.5611, allocations: 21.31 kB / 0.7093 GB, free: 12.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5611, allocations: 0 / 0.7093 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/0.5613, allocations: 57.67 kB / 0.7094 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5613, allocations: 9.812 kB / 0.7094 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5613, allocations: 4 kB / 0.7094 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5613, allocations: 0 / 0.7094 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.5614, allocations: 4 kB / 0.7094 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5614, allocations: 7.938 kB / 0.7094 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.5614, allocations: 3.984 kB / 0.7094 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5615, allocations: 0 / 0.7094 GB, free: 12.02 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 6.658e-05/0.5615, allocations: 111.4 kB / 0.7095 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.5616, allocations: 11.84 kB / 0.7095 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.5617, allocations: 57.17 kB / 0.7096 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5617, allocations: 0 / 0.7096 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5617, allocations: 4 kB / 0.7096 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5617, allocations: 0 / 0.7096 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.377e-05/0.5618, allocations: 153.7 kB / 0.7097 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5618, allocations: 0 / 0.7097 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.5619, allocations: 4 kB / 0.7097 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5619, allocations: 3.938 kB / 0.7097 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5619, allocations: 0 / 0.7097 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5619, allocations: 3.938 kB / 0.7097 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5619, allocations: 8 kB / 0.7097 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.5621, allocations: 77.05 kB / 0.7098 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.5621, allocations: 81.11 kB / 0.7099 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.5621, allocations: 3.938 kB / 0.7099 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.5622, allocations: 3.984 kB / 0.7099 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.5622, allocations: 4 kB / 0.7099 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5622, allocations: 0 / 0.7099 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.913e-05/0.5623, allocations: 79.28 kB / 0.71 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5623, allocations: 4 kB / 0.71 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000187/0.5625, allocations: 16 kB / 0.71 GB, free: 11.3 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.000141/0.5626, allocations: 103.2 kB / 0.7101 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.5628, allocations: 19.92 kB / 0.7101 GB, free: 11.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5628, allocations: 3.938 kB / 0.7101 GB, free: 11.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.5628, allocations: 15.98 kB / 0.7101 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.5631, allocations: 8 kB / 0.7101 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.5633, allocations: 137.4 kB / 0.7103 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.5636, allocations: 0.677 MB / 0.7109 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.5636, allocations: 8 kB / 0.7109 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.5636, allocations: 7.438 kB / 0.711 GB, free: 10.26 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5636, allocations: 0 / 0.711 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Templates: time 0.002501/0.5662, allocations: 497.3 kB / 0.7114 GB, free: 9.781 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)