Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001398/0.001398, allocations: 105.8 kB / 15.98 MB, free: 6.352 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.00127/0.00127, allocations: 189.4 kB / 16.9 MB, free: 6.195 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8124/0.8124, allocations: 126.1 MB / 416.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.4945 GB, free: 3.879 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.413, allocations: 78.71 MB / 0.5713 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002604/0.4157, allocations: 1.324 MB / 0.5726 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1401/0.5559, allocations: 130.1 MB / 0.6996 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.5559, allocations: 3.938 kB / 0.6996 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.556, allocations: 0 / 0.6996 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.5561, allocations: 0 / 0.6996 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.5564, allocations: 47.8 kB / 0.6997 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.5565, allocations: 27.86 kB / 0.6997 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.5566, allocations: 4 kB / 0.6997 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.5566, allocations: 11.92 kB / 0.6997 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.5567, allocations: 11.98 kB / 0.6997 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.5567, allocations: 0 / 0.6997 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.5568, allocations: 12 kB / 0.6997 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.5568, allocations: 0 / 0.6997 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.5568, allocations: 19.86 kB / 0.6998 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.557, allocations: 21.89 kB / 0.6998 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.557, allocations: 4 kB / 0.6998 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.557, allocations: 0 / 0.6998 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.557, allocations: 0 / 0.6998 GB, free: 2.875 MB / 0.5294 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.000403/0.5574, allocations: 339.4 kB / 0.7001 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5574, allocations: 8.031 kB / 0.7001 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.5575, allocations: 0.9375 kB / 0.7001 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.5576, allocations: 164.4 kB / 0.7003 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.5577, allocations: 38.23 kB / 0.7003 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.5577, allocations: 4.375 kB / 0.7003 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.5578, allocations: 34.25 kB / 0.7004 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5578, allocations: 3.938 kB / 0.7004 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.5578, allocations: 0 / 0.7004 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5579, allocations: 8 kB / 0.7004 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.5579, allocations: 15.92 kB / 0.7004 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.5581, allocations: 157.7 kB / 0.7005 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.5582, allocations: 34.61 kB / 0.7006 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.5583, allocations: 12.94 kB / 0.7006 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.5584, allocations: 89.11 kB / 0.7007 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5585, allocations: 34.55 kB / 0.7007 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5585, allocations: 0 / 0.7007 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002467/0.5587, allocations: 69.5 kB / 0.7008 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5588, allocations: 51.41 kB / 0.7008 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.018e-05/0.5589, allocations: 97.84 kB / 0.7009 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.5589, allocations: 25.7 kB / 0.7009 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.5589, allocations: 84.14 kB / 0.701 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.559, allocations: 15.75 kB / 0.701 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.559, allocations: 13.72 kB / 0.701 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5591, allocations: 318.8 kB / 0.7013 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.5592, allocations: 8 kB / 0.7013 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.5592, allocations: 11.92 kB / 0.7014 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.5593, allocations: 16.86 kB / 0.7014 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5593, allocations: 4 kB / 0.7014 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001486/0.5595, allocations: 57.61 kB / 0.7014 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5595, allocations: 9.5 kB / 0.7014 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5595, allocations: 0.5156 kB / 0.7014 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5595, allocations: 0 / 0.7014 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.5596, allocations: 8 kB / 0.7015 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.5596, allocations: 0 / 0.7015 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.5596, allocations: 0 / 0.7015 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.5597, allocations: 0 / 0.7015 GB, free: 0.9258 MB / 0.5294 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 7.338e-05/0.5597, allocations: 122.7 kB / 0.7016 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.5597, allocations: 3.938 kB / 0.7016 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.5599, allocations: 65.08 kB / 0.7016 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5599, allocations: 4 kB / 0.7016 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.56, allocations: 0 / 0.7016 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.56, allocations: 0 / 0.7016 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.832e-05/0.5601, allocations: 157.6 kB / 0.7018 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5601, allocations: 0 / 0.7018 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.336e-05/0.5601, allocations: 4 kB / 0.7018 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5601, allocations: 7.938 kB / 0.7018 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5602, allocations: 0 / 0.7018 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.5602, allocations: 4 kB / 0.7018 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5602, allocations: 0 / 0.7018 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.5603, allocations: 73.11 kB / 0.7019 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.5604, allocations: 81.11 kB / 0.7019 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.5604, allocations: 3.938 kB / 0.702 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.5604, allocations: 7.938 kB / 0.702 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.5605, allocations: 7.984 kB / 0.702 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.5605, allocations: 4 kB / 0.702 GB, free: 292 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.5605, allocations: 83.28 kB / 0.7021 GB, free: 208 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5605, allocations: 0 / 0.7021 GB, free: 208 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002014/0.5607, allocations: 12 kB / 0.7021 GB, free: 196 kB / 0.5294 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.000145/0.5609, allocations: 107.2 kB / 0.7022 GB, free: 76 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.561, allocations: 27.98 kB / 0.7022 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5611, allocations: 3.938 kB / 0.7022 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.5611, allocations: 15.92 kB / 0.7022 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.5613, allocations: 8 kB / 0.7022 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.5616, allocations: 119.8 kB / 0.7023 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.5619, allocations: 0.6768 MB / 0.703 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.893e-05/0.5619, allocations: 8 kB / 0.703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.5619, allocations: 7.438 kB / 0.703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5619, allocations: 0 / 0.703 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002446/0.5644, allocations: 0.5025 MB / 0.7035 GB, free: 14.67 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)