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.00123/0.00123, allocations: 98.73 kB / 16.35 MB, free: 5.828 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.001226/0.001226, allocations: 193.5 kB / 17.29 MB, free: 5.484 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.234/1.234, 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.002007/0.002007, allocations: 288.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8833/0.8833, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 94.19 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1609, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002602/0.1635, allocations: 1.282 MB / 0.6828 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3911/0.5547, allocations: 132 MB / 0.8118 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.5547, allocations: 0 / 0.8118 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.5548, allocations: 7.922 kB / 0.8118 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.55e-05/0.5549, allocations: 7.938 kB / 0.8118 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.5552, allocations: 63.27 kB / 0.8118 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.194e-05/0.5552, allocations: 19.86 kB / 0.8119 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.5553, allocations: 8 kB / 0.8119 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.5553, allocations: 8 kB / 0.8119 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.5553, allocations: 11.92 kB / 0.8119 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.5554, allocations: 0 / 0.8119 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.899e-05/0.5554, allocations: 12 kB / 0.8119 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.5554, allocations: 3.984 kB / 0.8119 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.5555, allocations: 7.938 kB / 0.8119 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.031e-05/0.5556, allocations: 27.97 kB / 0.8119 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5556, allocations: 0 / 0.8119 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5556, allocations: 0 / 0.8119 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.5556, allocations: 0 / 0.8119 GB, free: 9.109 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.0003151/0.5559, allocations: 337.1 kB / 0.8123 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.5559, allocations: 8.031 kB / 0.8123 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.556, allocations: 4.938 kB / 0.8123 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5561, allocations: 168.9 kB / 0.8124 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.5561, allocations: 30.27 kB / 0.8125 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.5562, allocations: 4.375 kB / 0.8125 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.5563, allocations: 34.25 kB / 0.8125 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5563, allocations: 15.86 kB / 0.8125 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.5563, allocations: 0 / 0.8125 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-06/0.5563, allocations: 4 kB / 0.8125 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.5564, allocations: 15.98 kB / 0.8125 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.5565, allocations: 153.6 kB / 0.8127 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.5566, allocations: 35.08 kB / 0.8127 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.5567, allocations: 12.94 kB / 0.8127 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.5568, allocations: 93.09 kB / 0.8128 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.5568, allocations: 30.56 kB / 0.8128 GB, free: 8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5568, allocations: 0 / 0.8128 GB, free: 8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0001905/0.557, allocations: 65.61 kB / 0.8129 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.5571, allocations: 52.25 kB / 0.813 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.5571, allocations: 97.8 kB / 0.8131 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5571, allocations: 29.7 kB / 0.8131 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.5572, allocations: 80.14 kB / 0.8132 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.5572, allocations: 15.84 kB / 0.8132 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.5572, allocations: 13.7 kB / 0.8132 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.5573, allocations: 314.8 kB / 0.8135 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.5574, allocations: 8 kB / 0.8135 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.5574, allocations: 7.984 kB / 0.8135 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.133e-05/0.5575, allocations: 28.78 kB / 0.8135 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5575, allocations: 0 / 0.8135 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001114/0.5576, allocations: 49.69 kB / 0.8136 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5576, allocations: 7.938 kB / 0.8136 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.5576, allocations: 0 / 0.8136 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5576, allocations: 0 / 0.8136 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.5577, allocations: 11.94 kB / 0.8136 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.5577, allocations: 0 / 0.8136 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.5577, allocations: 7.891 kB / 0.8136 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.5578, allocations: 4 kB / 0.8136 GB, free: 7.16 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 5.987e-05/0.5578, allocations: 113.8 kB / 0.8137 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.5578, allocations: 3.938 kB / 0.8137 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.558, allocations: 57.69 kB / 0.8138 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.558, allocations: 0 / 0.8138 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.558, allocations: 0 / 0.8138 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.558, allocations: 48 / 0.8138 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.371e-05/0.5581, allocations: 161.6 kB / 0.8139 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5581, allocations: 4.875 kB / 0.8139 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.5582, allocations: 7.938 kB / 0.8139 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5582, allocations: 3.938 kB / 0.8139 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5582, allocations: 4 kB / 0.8139 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5582, allocations: 0 / 0.8139 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5582, allocations: 0 / 0.8139 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.5583, allocations: 77.11 kB / 0.814 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.5584, allocations: 80.8 kB / 0.8141 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.5584, allocations: 7.938 kB / 0.8141 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.721e-05/0.5584, allocations: 3.984 kB / 0.8141 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.5585, allocations: 4 kB / 0.8141 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.5585, allocations: 0 / 0.8141 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.5585, allocations: 79.28 kB / 0.8142 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5585, allocations: 0 / 0.8142 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001806/0.5587, allocations: 12 kB / 0.8142 GB, free: 6.449 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.000124/0.5588, allocations: 118 kB / 0.8143 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.559, allocations: 23.98 kB / 0.8143 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.559, allocations: 0 / 0.8143 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.559, allocations: 11.98 kB / 0.8143 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.5592, allocations: 4.625 kB / 0.8144 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.5594, allocations: 132.7 kB / 0.8145 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.5597, allocations: 0.6768 MB / 0.8151 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.5597, allocations: 9.5 kB / 0.8151 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.5598, allocations: 7.438 kB / 0.8152 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.5598, allocations: 0 / 0.8152 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.002751/0.5625, allocations: 0.5254 MB / 0.8157 GB, free: 4.895 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)