Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00134/0.00134, allocations: 183 kB / 17.34 MB, free: 5.766 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 291.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9032/0.9032, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4566, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002524/0.4592, allocations: 1.496 MB / 0.7685 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.4595, allocations: 131.6 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.4596, allocations: 0 / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.4596, allocations: 3.938 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.4597, allocations: 11.88 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.46, allocations: 79.88 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.4601, allocations: 51.91 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4602, allocations: 19.92 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.4603, allocations: 27.92 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.4604, allocations: 23.84 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.4604, allocations: 8 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.607e-05/0.4604, allocations: 4 kB / 0.7688 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.4605, allocations: 15.92 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.4605, allocations: 27.86 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.4606, allocations: 59.44 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4606, allocations: 0 / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4606, allocations: 0 / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5e-06/0.4606, allocations: 4 kB / 0.7689 GB, free: 1.973 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005053/0.4611, allocations: 366 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4612, allocations: 12.03 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.4612, allocations: 8.844 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.4613, allocations: 176.2 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.4614, allocations: 30.27 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.4614, allocations: 4.375 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4617, allocations: 78.16 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4617, allocations: 3.938 kB / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4617, allocations: 0 / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4617, allocations: 0 / 0.7696 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.4619, allocations: 55.94 kB / 0.7696 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.4625, allocations: 308.8 kB / 0.7699 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.4626, allocations: 50.48 kB / 0.77 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.193e-05/0.4627, allocations: 32.94 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4627, allocations: 0 / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4627, allocations: 34.56 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.4627, allocations: 0 / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0003561/0.4631, allocations: 109.5 kB / 0.7702 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.4632, allocations: 51.41 kB / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.4632, allocations: 113.8 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4633, allocations: 25.7 kB / 0.7703 GB, free: 348 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.4633, allocations: 89.92 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.4633, allocations: 15.73 kB / 0.7704 GB, free: 240 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.4634, allocations: 17.72 kB / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4635, allocations: 318.8 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/0.4636, allocations: 23.97 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.574e-05/0.4637, allocations: 37.64 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.4639, allocations: 61.61 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4639, allocations: 0 / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.4641, allocations: 85.59 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4641, allocations: 8 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4641, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4641, allocations: 0 / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4642, allocations: 19.98 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4642, allocations: 3.938 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.4643, allocations: 11.92 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.4643, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.365e-05/0.4644, allocations: 124.2 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.4644, allocations: 4 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.4645, allocations: 3.906 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4645, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4645, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4645, allocations: 0 / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.4646, allocations: 185.5 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4647, allocations: 4.125 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.4647, allocations: 11.98 kB / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4647, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.4647, allocations: 0 / 0.7713 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4648, allocations: 4 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4648, allocations: 4 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.465, allocations: 175.4 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.465, allocations: 81.09 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.4651, allocations: 4 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4652, allocations: 11.98 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.4652, allocations: 4 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4652, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.4653, allocations: 91.58 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4653, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002178/0.4655, allocations: 11.91 kB / 0.7717 GB, free: 14.82 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 (4): * Single equations (assignments): 4 * 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.0001078/0.4656, allocations: 103.2 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.4659, allocations: 59.83 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4659, allocations: 0 / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.466, allocations: 31.91 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.4662, allocations: 4.469 kB / 0.7719 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.4665, allocations: 151.4 kB / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.4668, allocations: 0.6885 MB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.4668, allocations: 11.44 kB / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4668, allocations: 0 / 0.7727 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Templates: time 0.001985/0.4688, allocations: 0.8593 MB / 0.7735 GB, free: 12.86 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)