Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002198/0.002197, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.34 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3894, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003434/0.3928, allocations: 1.714 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.3937, allocations: 406.8 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.3938, allocations: 0 / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.3939, allocations: 11.88 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.394, allocations: 15.84 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.3945, allocations: 107.1 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.3946, allocations: 111.6 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3948, allocations: 39.81 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.3948, allocations: 43.86 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.3949, allocations: 35.84 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.395, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3951, allocations: 67.94 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.3951, allocations: 15.91 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.03e-05/0.3952, allocations: 43.8 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3954, allocations: 123.9 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3954, allocations: 3.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3955, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3955, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 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.0006777/0.3961, allocations: 423.1 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.3962, allocations: 8.031 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.3965, allocations: 32.75 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3967, allocations: 200.2 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.3968, allocations: 30.27 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3968, allocations: 8.375 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.3971, allocations: 102.2 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3971, allocations: 3.938 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3971, allocations: 11.98 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3972, allocations: 3.938 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.3974, allocations: 83.88 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.3982, allocations: 388.5 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.3987, allocations: 130.6 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3988, allocations: 40.84 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3989, allocations: 3.984 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3989, allocations: 30.56 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3989, allocations: 0 / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.3993, allocations: 133.5 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3994, allocations: 55.41 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3995, allocations: 143.2 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3996, allocations: 25.7 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3996, allocations: 96.12 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3997, allocations: 35.69 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.3997, allocations: 17.72 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3999, allocations: 326.8 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.4, allocations: 31.98 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.4001, allocations: 41.69 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.4003, allocations: 81.61 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4003, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002591/0.4006, allocations: 109.6 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4006, allocations: 5.875 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4006, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4006, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4008, allocations: 35.84 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4008, allocations: 0 / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.4009, allocations: 7.984 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.4009, allocations: 4 kB / 1.073 GB, free: 5.375 MB / 0.8262 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 0.000102/0.401, allocations: 121.8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.401, allocations: 7.906 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.4011, allocations: 16.66 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4011, allocations: 7.938 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4011, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4011, allocations: 3.938 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.4014, allocations: 197.6 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4014, allocations: 4 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.4015, allocations: 15.98 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4015, allocations: 7.938 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4015, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.4016, allocations: 3.938 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4016, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.4019, allocations: 200 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.4019, allocations: 89.02 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.402, allocations: 4 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.4021, allocations: 19.92 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.4022, allocations: 3.984 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4022, allocations: 4 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.419e-05/0.4023, allocations: 107.2 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4023, allocations: 0 / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002399/0.4025, allocations: 20 kB / 1.073 GB, free: 4.461 MB / 0.8262 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.0001322/0.4027, allocations: 103.2 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002762/0.403, allocations: 80.02 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.403, allocations: 0 / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4031, allocations: 35.92 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4035, allocations: 23.97 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.4041, allocations: 244.8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4044, allocations: 0.6965 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.361e-05/0.4045, allocations: 12.66 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.4045, allocations: 11.44 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.4045, allocations: 0 / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.004115/0.4087, allocations: 1.324 MB / 1.076 GB, free: 1.895 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)