Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001049/0.001049, allocations: 107.7 kB / 16.37 MB, free: 6.48 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.001015/0.001015, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 277.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9044/0.9044, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 95.83 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1618, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002239/0.1641, allocations: 1.285 MB / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4082/0.5722, allocations: 132 MB / 0.8118 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.5723, allocations: 0 / 0.8118 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.5724, allocations: 0 / 0.8118 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.5725, allocations: 19.91 kB / 0.8118 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.5728, allocations: 63.22 kB / 0.8119 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.5729, allocations: 15.92 kB / 0.8119 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.5729, allocations: 5.312 kB / 0.8119 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.573, allocations: 11.94 kB / 0.8119 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.573, allocations: 7.984 kB / 0.8119 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.5731, allocations: 0 / 0.8119 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.5731, allocations: 15.94 kB / 0.8119 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.5731, allocations: 3.984 kB / 0.8119 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.5732, allocations: 7.938 kB / 0.8119 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.5733, allocations: 31.91 kB / 0.812 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5733, allocations: 4 kB / 0.812 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5733, allocations: 0 / 0.812 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.5733, allocations: 0 / 0.812 GB, free: 9.086 MB / 0.5762 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.0003707/0.5737, allocations: 333.1 kB / 0.8123 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.5737, allocations: 8.031 kB / 0.8123 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.5738, allocations: 4.875 kB / 0.8123 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/0.5739, allocations: 169 kB / 0.8125 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.5739, allocations: 27.14 kB / 0.8125 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.574, allocations: 8.375 kB / 0.8125 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.5741, allocations: 38.25 kB / 0.8125 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.5741, allocations: 3.938 kB / 0.8125 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5741, allocations: 0 / 0.8125 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5741, allocations: 0 / 0.8125 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.5742, allocations: 15.92 kB / 0.8125 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.5743, allocations: 161.6 kB / 0.8127 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.5744, allocations: 30.58 kB / 0.8127 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.5745, allocations: 16.94 kB / 0.8127 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.5746, allocations: 89.09 kB / 0.8128 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.5747, allocations: 31.19 kB / 0.8129 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.5747, allocations: 0 / 0.8129 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002075/0.5749, allocations: 69.73 kB / 0.8129 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.5749, allocations: 55.41 kB / 0.813 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.575, allocations: 97.84 kB / 0.8131 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.575, allocations: 25.7 kB / 0.8131 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.575, allocations: 80.14 kB / 0.8132 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.5751, allocations: 11.84 kB / 0.8132 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.5751, allocations: 17.7 kB / 0.8132 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.5752, allocations: 310.8 kB / 0.8135 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.5752, allocations: 12 kB / 0.8135 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.5753, allocations: 11.98 kB / 0.8135 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.515e-05/0.5754, allocations: 28.72 kB / 0.8135 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5754, allocations: 0 / 0.8135 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001098/0.5755, allocations: 50.81 kB / 0.8136 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5755, allocations: 7.938 kB / 0.8136 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5755, allocations: 0 / 0.8136 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5755, allocations: 0 / 0.8136 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.375e-05/0.5756, allocations: 12 kB / 0.8136 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.5756, allocations: 0 / 0.8136 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.5757, allocations: 7.891 kB / 0.8136 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.5757, allocations: 0 / 0.8136 GB, free: 7.145 MB / 0.5762 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.797e-05/0.5757, allocations: 109.8 kB / 0.8137 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.5757, allocations: 3.938 kB / 0.8137 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.5759, allocations: 61.11 kB / 0.8138 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5759, allocations: 4 kB / 0.8138 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5759, allocations: 4.75 kB / 0.8138 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5759, allocations: 0 / 0.8138 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.522e-05/0.576, allocations: 153.7 kB / 0.8139 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.576, allocations: 3.938 kB / 0.8139 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.5761, allocations: 4 kB / 0.814 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5761, allocations: 3.938 kB / 0.814 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.5761, allocations: 4 kB / 0.814 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5761, allocations: 4 kB / 0.814 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5761, allocations: 0 / 0.814 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.5763, allocations: 81.05 kB / 0.814 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.5763, allocations: 81.11 kB / 0.8141 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5763, allocations: 3.938 kB / 0.8141 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.901e-05/0.5764, allocations: 3.984 kB / 0.8141 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.5764, allocations: 4 kB / 0.8141 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.5764, allocations: 0 / 0.8141 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.5765, allocations: 79.7 kB / 0.8142 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5765, allocations: 0 / 0.8142 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001856/0.5766, allocations: 16 kB / 0.8142 GB, free: 6.426 MB / 0.5762 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.0001336/0.5768, allocations: 111.2 kB / 0.8143 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.5769, allocations: 20.11 kB / 0.8143 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.5769, allocations: 0 / 0.8143 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.577, allocations: 23.86 kB / 0.8144 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.5772, allocations: 4 kB / 0.8144 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.5774, allocations: 132.7 kB / 0.8145 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.5777, allocations: 0.6729 MB / 0.8152 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.5777, allocations: 4 kB / 0.8152 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.5777, allocations: 11.44 kB / 0.8152 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.5777, allocations: 0 / 0.8152 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of Templates: time 0.002433/0.5802, allocations: 0.5165 MB / 0.8157 GB, free: 4.879 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)