Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.001178/0.001178, allocations: 189.5 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 288.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 104.3 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.4373, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002766/0.4401, allocations: 1.666 MB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006893/0.4408, allocations: 392.5 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.4409, allocations: 4 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.4411, allocations: 11.86 kB / 0.7691 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.4412, allocations: 27.78 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.4416, allocations: 117.8 kB / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.4418, allocations: 107.6 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4419, allocations: 51.59 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.083e-05/0.442, allocations: 39.86 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.4421, allocations: 35.84 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.4421, allocations: 8 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.4423, allocations: 67.94 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.4423, allocations: 31.84 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.4424, allocations: 47.73 kB / 0.7696 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.4426, allocations: 126.1 kB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4426, allocations: 8 kB / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4426, allocations: 0 / 0.7697 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4426, allocations: 0 / 0.7697 GB, free: 1.203 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005692/0.4432, allocations: 415.1 kB / 0.7701 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4432, allocations: 12.03 kB / 0.7701 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.4435, allocations: 32.81 kB / 0.7701 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.4437, allocations: 192.2 kB / 0.7703 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/0.4438, allocations: 34.27 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.4438, allocations: 12.38 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.4441, allocations: 102.1 kB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4441, allocations: 3.938 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.4441, allocations: 4 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4442, allocations: 4 kB / 0.7705 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.4444, allocations: 79.94 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.4451, allocations: 392.5 kB / 0.7709 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.4456, allocations: 126.6 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.4457, allocations: 44.88 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.4457, allocations: 0 / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.4457, allocations: 38.5 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.4457, allocations: 0 / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003925/0.4461, allocations: 137.5 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.4462, allocations: 51.41 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4463, allocations: 148.3 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.4463, allocations: 29.7 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.4464, allocations: 100 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4464, allocations: 19.8 kB / 0.7716 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.4464, allocations: 29.7 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.4465, allocations: 322.8 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4466, allocations: 27.97 kB / 0.7719 GB, free: 14.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4468, allocations: 41.7 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.447, allocations: 81.61 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.447, allocations: 4 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002564/0.4472, allocations: 109.5 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4472, allocations: 4 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4473, allocations: 4 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4473, allocations: 0 / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4474, allocations: 19.92 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4474, allocations: 4 kB / 0.7722 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.4475, allocations: 11.92 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.4475, allocations: 8.031 kB / 0.7722 GB, free: 14.37 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 (8): * Single equations (assignments): 8 * 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.593e-05/0.4476, allocations: 113.8 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.4476, allocations: 7.906 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.4477, allocations: 16.7 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4477, allocations: 3.938 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4477, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4477, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.4479, allocations: 205.5 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4479, allocations: 3.938 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/0.448, allocations: 19.98 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.448, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.448, allocations: 0 / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.448, allocations: 15.92 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.448, allocations: 0 / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.4483, allocations: 196 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.4484, allocations: 85.02 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4484, allocations: 7.938 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4485, allocations: 15.92 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.4486, allocations: 11.97 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.4486, allocations: 0 / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.4487, allocations: 115.1 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4487, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000234/0.4489, allocations: 24 kB / 0.773 GB, free: 13.45 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 (7): * Single equations (assignments): 7 * 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.0001088/0.449, allocations: 99.25 kB / 0.7731 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4493, allocations: 72.02 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4493, allocations: 0 / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4494, allocations: 43.91 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.4497, allocations: 26.86 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.4502, allocations: 232.7 kB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.4505, allocations: 0.6924 MB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.4505, allocations: 11.44 kB / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4505, allocations: 0 / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Templates: time 0.00247/0.453, allocations: 1.324 MB / 0.7755 GB, free: 10.9 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)