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.001534/0.001534, allocations: 109 kB / 16.41 MB, free: 6.449 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.001695/0.001695, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.413/1.413, 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.002452/0.002452, allocations: 294.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.988/0.988, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004101/0.004101, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4474, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002708/0.4501, allocations: 1.508 MB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003089/0.4504, allocations: 131.6 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.4504, allocations: 0 / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.4505, allocations: 3.938 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.4505, allocations: 3.938 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.4508, allocations: 73.83 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.4509, allocations: 55.91 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.451, allocations: 15.98 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.4511, allocations: 27.91 kB / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.4512, allocations: 27.84 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.4512, allocations: 8 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.4512, allocations: 4 kB / 0.7688 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.4512, allocations: 11.98 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.4513, allocations: 23.86 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.4514, allocations: 63.53 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4514, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4514, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4514, allocations: 0 / 0.7689 GB, free: 1.965 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.0005578/0.4519, allocations: 381.1 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.452, allocations: 8.031 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.452, allocations: 12.89 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4522, allocations: 164.3 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.4522, allocations: 30.27 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4522, allocations: 8.359 kB / 0.7695 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.4525, allocations: 82.2 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4525, allocations: 3.938 kB / 0.7696 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.4525, allocations: 3.984 kB / 0.7696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.4525, allocations: 0 / 0.7696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.4527, allocations: 51.89 kB / 0.7697 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.4533, allocations: 316.7 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.4535, allocations: 38.56 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4536, allocations: 36.92 kB / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.4536, allocations: 0 / 0.77 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.4536, allocations: 34.5 kB / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4536, allocations: 4 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0003761/0.454, allocations: 93.64 kB / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.454, allocations: 51.41 kB / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.4541, allocations: 113.8 kB / 0.7703 GB, free: 376 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.4542, allocations: 25.7 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.4542, allocations: 97.84 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.4542, allocations: 11.91 kB / 0.7704 GB, free: 232 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4543, allocations: 21.72 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4545, allocations: 318.8 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.4546, allocations: 19.98 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4547, allocations: 41.62 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.4549, allocations: 61.62 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4549, allocations: 0 / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002321/0.4551, allocations: 85.55 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4551, allocations: 8 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4551, allocations: 128 / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4551, allocations: 7.984 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.4552, allocations: 8 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4552, allocations: 8.031 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.4553, allocations: 11.98 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.4553, allocations: 0 / 0.771 GB, free: 15.61 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 9.144e-05/0.4554, allocations: 113.8 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.4554, allocations: 3.938 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.4554, allocations: 11.91 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4554, allocations: 4.219 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4554, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.4554, allocations: 4 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.4556, allocations: 185.5 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4556, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.4557, allocations: 15.94 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4557, allocations: 0 / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4557, allocations: 0 / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4557, allocations: 0 / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4557, allocations: 3.984 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.456, allocations: 179.4 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.4561, allocations: 81.06 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4561, allocations: 4 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4562, allocations: 11.98 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.4563, allocations: 0 / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4563, allocations: 7.984 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.4563, allocations: 83.59 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4563, allocations: 4 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002196/0.4565, allocations: 8 kB / 0.7717 GB, free: 14.81 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.0001245/0.4567, allocations: 107.2 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.4569, allocations: 51.89 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4569, allocations: 0 / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.457, allocations: 19.98 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.0002801/0.4573, allocations: 20.17 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.4576, allocations: 137.6 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.4579, allocations: 0.6807 MB / 0.7727 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.458, allocations: 4 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.458, allocations: 7.438 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.458, allocations: 4 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of Templates: time 0.003301/0.4613, allocations: 0.8203 MB / 0.7735 GB, free: 12.92 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)