Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001218/0.001218, allocations: 110.5 kB / 15.99 MB, free: 6.359 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.001169/0.001169, allocations: 189.6 kB / 16.91 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.225/1.225, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 288.3 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.873/0.873, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 95.94 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1646, allocations: 86.98 MB / 0.6803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002519/0.1671, allocations: 1.551 MB / 0.6818 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.397/0.5642, allocations: 130.1 MB / 0.8088 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.5643, allocations: 0 / 0.8088 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.035e-05/0.5644, allocations: 0 / 0.8088 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.5645, allocations: 11.86 kB / 0.8089 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.565, allocations: 58.88 kB / 0.8089 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.5652, allocations: 51.86 kB / 0.809 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.5653, allocations: 23.97 kB / 0.809 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.183e-05/0.5654, allocations: 19.92 kB / 0.809 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.5655, allocations: 19.92 kB / 0.809 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.5655, allocations: 4 kB / 0.809 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.5656, allocations: 19.98 kB / 0.809 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.5656, allocations: 11.88 kB / 0.8091 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.5657, allocations: 27.86 kB / 0.8091 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.5658, allocations: 42.5 kB / 0.8091 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5658, allocations: 4 kB / 0.8091 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5659, allocations: 0 / 0.8091 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.5659, allocations: 0 / 0.8091 GB, free: 11.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006565/0.5665, allocations: 374 kB / 0.8095 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5666, allocations: 8.031 kB / 0.8095 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.5666, allocations: 8.844 kB / 0.8095 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5668, allocations: 168.3 kB / 0.8097 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.5668, allocations: 384 / 0.8097 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5669, allocations: 8.375 kB / 0.8097 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.5672, allocations: 75.33 kB / 0.8097 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.5672, allocations: 192 / 0.8097 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5672, allocations: 7.938 kB / 0.8097 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.5672, allocations: 0 / 0.8097 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.5675, allocations: 71.86 kB / 0.8098 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.5681, allocations: 284.7 kB / 0.8101 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.5683, allocations: 50.55 kB / 0.8101 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.5685, allocations: 48.84 kB / 0.8102 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.5687, allocations: 93.08 kB / 0.8103 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.5687, allocations: 34.56 kB / 0.8103 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.5687, allocations: 0 / 0.8103 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005458/0.5693, allocations: 129.5 kB / 0.8104 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5693, allocations: 59.33 kB / 0.8105 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5694, allocations: 123.5 kB / 0.8106 GB, free: 10 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.5695, allocations: 25.7 kB / 0.8106 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.5695, allocations: 84.14 kB / 0.8107 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.5695, allocations: 11.97 kB / 0.8107 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.5696, allocations: 17.7 kB / 0.8107 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5697, allocations: 326.8 kB / 0.811 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5699, allocations: 31.89 kB / 0.8111 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.57, allocations: 31.97 kB / 0.8111 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5702, allocations: 68.78 kB / 0.8112 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5703, allocations: 0 / 0.8112 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003073/0.5706, allocations: 105.5 kB / 0.8113 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5706, allocations: 4 kB / 0.8113 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5706, allocations: 0 / 0.8113 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5706, allocations: 0 / 0.8113 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5707, allocations: 23.97 kB / 0.8113 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5708, allocations: 0 / 0.8113 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.5708, allocations: 19.86 kB / 0.8113 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.5709, allocations: 0 / 0.8113 GB, free: 9.23 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 7.865e-05/0.5709, allocations: 113.8 kB / 0.8114 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.571, allocations: 7.906 kB / 0.8114 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.5713, allocations: 105.5 kB / 0.8115 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.5714, allocations: 0 / 0.8115 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5714, allocations: 0 / 0.8115 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5714, allocations: 0 / 0.8115 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5716, allocations: 177.6 kB / 0.8117 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5716, allocations: 0 / 0.8117 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.5717, allocations: 15.98 kB / 0.8117 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5717, allocations: 4 kB / 0.8117 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5717, allocations: 0.875 kB / 0.8117 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5717, allocations: 7.984 kB / 0.8117 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5717, allocations: 3.938 kB / 0.8117 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.5721, allocations: 187.4 kB / 0.8119 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.5721, allocations: 85.02 kB / 0.812 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.5721, allocations: 432 / 0.812 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5722, allocations: 31.09 kB / 0.812 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.5723, allocations: 0 / 0.812 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5723, allocations: 0 / 0.812 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.5724, allocations: 95.27 kB / 0.8121 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5724, allocations: 0 / 0.8121 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002305/0.5726, allocations: 12 kB / 0.8121 GB, free: 8.301 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.0001533/0.5728, allocations: 108.2 kB / 0.8122 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.5731, allocations: 87.78 kB / 0.8123 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5731, allocations: 0 / 0.8123 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5733, allocations: 35.95 kB / 0.8123 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.5736, allocations: 17.81 kB / 0.8124 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.574, allocations: 194.6 kB / 0.8125 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.5742, allocations: 0.6846 MB / 0.8132 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.5743, allocations: 11.44 kB / 0.8132 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.5743, allocations: 0 / 0.8132 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of Templates: time 0.002215/0.5765, allocations: 0.9337 MB / 0.8141 GB, free: 6.188 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)