Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001407/0.001407, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001427/0.001427, allocations: 190.4 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.345/1.345, 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.7959/0.7959, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 55.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3953, allocations: 80.18 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002393/0.3977, allocations: 1.489 MB / 0.5829 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1411/0.5388, allocations: 132.1 MB / 0.7119 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.539, allocations: 0 / 0.7119 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.539, allocations: 3.938 kB / 0.7119 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.5391, allocations: 7.875 kB / 0.7119 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.5396, allocations: 63.72 kB / 0.712 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.676e-05/0.5397, allocations: 63.77 kB / 0.7121 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.5398, allocations: 17.81 kB / 0.7121 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.5398, allocations: 19.92 kB / 0.7121 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.278e-05/0.5399, allocations: 23.86 kB / 0.7121 GB, free: 8.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.5399, allocations: 8 kB / 0.7121 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.187e-05/0.54, allocations: 11.98 kB / 0.7121 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.54, allocations: 12 kB / 0.7122 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.5401, allocations: 19.86 kB / 0.7122 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.5402, allocations: 71.59 kB / 0.7122 GB, free: 7.891 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5402, allocations: 0 / 0.7122 GB, free: 7.891 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5402, allocations: 0 / 0.7122 GB, free: 7.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5403, allocations: 0 / 0.7122 GB, free: 7.891 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.0005886/0.5409, allocations: 371.3 kB / 0.7126 GB, free: 7.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5409, allocations: 11.97 kB / 0.7126 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.5409, allocations: 16.83 kB / 0.7126 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5411, allocations: 172.3 kB / 0.7128 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.5411, allocations: 4.375 kB / 0.7128 GB, free: 7.238 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.5411, allocations: 4.375 kB / 0.7128 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.5414, allocations: 74.2 kB / 0.7129 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5414, allocations: 4.172 kB / 0.7129 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5414, allocations: 7.938 kB / 0.7129 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5414, allocations: 0 / 0.7129 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.5417, allocations: 71.86 kB / 0.7129 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.542, allocations: 284.7 kB / 0.7132 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.5423, allocations: 54.53 kB / 0.7133 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.5424, allocations: 44.91 kB / 0.7133 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.5426, allocations: 85.11 kB / 0.7134 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5426, allocations: 42.48 kB / 0.7134 GB, free: 6.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5426, allocations: 0 / 0.7134 GB, free: 6.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000484/0.5431, allocations: 129.5 kB / 0.7136 GB, free: 6.352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5431, allocations: 51.41 kB / 0.7136 GB, free: 6.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.5432, allocations: 121.8 kB / 0.7137 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5433, allocations: 25.7 kB / 0.7137 GB, free: 6.129 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.5433, allocations: 84.14 kB / 0.7138 GB, free: 6.043 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.5433, allocations: 7.906 kB / 0.7138 GB, free: 6.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.5434, allocations: 21.66 kB / 0.7139 GB, free: 6.008 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.5435, allocations: 322.8 kB / 0.7142 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.5436, allocations: 27.97 kB / 0.7142 GB, free: 5.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.5437, allocations: 35.95 kB / 0.7142 GB, free: 5.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.544, allocations: 72.72 kB / 0.7143 GB, free: 5.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.544, allocations: 0 / 0.7143 GB, free: 5.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000279/0.5443, allocations: 101.5 kB / 0.7144 GB, free: 5.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5443, allocations: 4 kB / 0.7144 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5443, allocations: 0 / 0.7144 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.5443, allocations: 0 / 0.7144 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.5445, allocations: 23.98 kB / 0.7144 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5445, allocations: 0 / 0.7144 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.429e-05/0.5445, allocations: 15.92 kB / 0.7144 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.5446, allocations: 3.984 kB / 0.7144 GB, free: 5.395 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.369e-05/0.5446, allocations: 113.8 kB / 0.7145 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.5447, allocations: 3.906 kB / 0.7145 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.545, allocations: 113.5 kB / 0.7147 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.545, allocations: 0 / 0.7147 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.545, allocations: 3.938 kB / 0.7147 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5451, allocations: 0 / 0.7147 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.5452, allocations: 177.6 kB / 0.7148 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5452, allocations: 384 / 0.7148 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.5453, allocations: 11.98 kB / 0.7148 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5453, allocations: 4 kB / 0.7148 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.5453, allocations: 8 kB / 0.7149 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5453, allocations: 0 / 0.7149 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5453, allocations: 0 / 0.7149 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.5457, allocations: 203.3 kB / 0.715 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.5457, allocations: 85.02 kB / 0.7151 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.5457, allocations: 4 kB / 0.7151 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5459, allocations: 15.98 kB / 0.7151 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.5459, allocations: 3.984 kB / 0.7151 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.5459, allocations: 0 / 0.7151 GB, free: 4.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.546, allocations: 99.2 kB / 0.7152 GB, free: 4.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.546, allocations: 0 / 0.7152 GB, free: 4.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002255/0.5462, allocations: 12 kB / 0.7153 GB, free: 4.449 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.0001307/0.5463, allocations: 111.2 kB / 0.7154 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5467, allocations: 71.86 kB / 0.7154 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5467, allocations: 0 / 0.7154 GB, free: 4.258 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.5468, allocations: 31.97 kB / 0.7155 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.5471, allocations: 22.16 kB / 0.7155 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.5474, allocations: 155.8 kB / 0.7156 GB, free: 4.027 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.5477, allocations: 0.6846 MB / 0.7163 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.5477, allocations: 4.156 kB / 0.7163 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.5477, allocations: 15.44 kB / 0.7163 GB, free: 3.297 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5477, allocations: 4 kB / 0.7163 GB, free: 3.293 MB / 0.545 GB Notification: Performance of Templates: time 0.002986/0.5507, allocations: 0.9862 MB / 0.7173 GB, free: 2.32 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)