Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001097/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001248, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 75 kB / 0.9113 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4112, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004063/0.4153, allocations: 1.726 MB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.4163, allocations: 414.8 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4164, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.4166, allocations: 3.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.4167, allocations: 19.84 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.4172, allocations: 107.7 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.4174, allocations: 103.6 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.4176, allocations: 47.8 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.531e-05/0.4177, allocations: 31.92 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.4178, allocations: 43.78 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.4178, allocations: 4 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.418, allocations: 63.94 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.4181, allocations: 23.91 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.4181, allocations: 39.8 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.4184, allocations: 123.9 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4184, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4184, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.4184, allocations: 0 / 1.07 GB, free: 8.199 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.0007256/0.4191, allocations: 427.1 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4192, allocations: 8.031 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.4195, allocations: 28.81 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.4197, allocations: 196.2 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.623e-05/0.4198, allocations: 38.2 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4198, allocations: 4.375 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.4201, allocations: 106.1 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4202, allocations: 3.938 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.4202, allocations: 4 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4202, allocations: 4 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.4205, allocations: 83.92 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/0.4213, allocations: 384.5 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.4219, allocations: 126.6 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4221, allocations: 48.78 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.4221, allocations: 4 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4221, allocations: 34.55 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.4221, allocations: 3.938 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004641/0.4226, allocations: 129.5 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4227, allocations: 55.41 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.4228, allocations: 139.3 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4228, allocations: 25.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.4229, allocations: 100.1 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4229, allocations: 23.72 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.423, allocations: 21.7 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4232, allocations: 326.8 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4233, allocations: 35.91 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4234, allocations: 46 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.4236, allocations: 77.83 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4236, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002702/0.4239, allocations: 121.5 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4239, allocations: 4 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4239, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.424, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4241, allocations: 23.92 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4241, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.4242, allocations: 11.98 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.4242, allocations: 4 kB / 1.073 GB, free: 5.363 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.0001209/0.4243, allocations: 129.7 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.4244, allocations: 7.906 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.4244, allocations: 8.719 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4244, allocations: 3.938 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4244, allocations: 4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4244, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.4247, allocations: 201.6 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4247, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4248, allocations: 19.97 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4248, allocations: 4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4248, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4249, allocations: 7.875 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4249, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.4252, allocations: 203.3 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.4253, allocations: 88.95 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.4253, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.4255, allocations: 23.92 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4255, allocations: 0 / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4255, allocations: 7.984 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.4256, allocations: 109 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4256, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002457/0.4259, allocations: 16 kB / 1.073 GB, free: 4.445 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.0001249/0.426, allocations: 99.25 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.4263, allocations: 83.88 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4263, allocations: 0 / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4264, allocations: 31.98 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.4268, allocations: 24.53 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.4273, allocations: 232.8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4276, allocations: 0.6965 MB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.4277, allocations: 12.67 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.4277, allocations: 15.38 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.4277, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.004438/0.4322, allocations: 1.333 MB / 1.076 GB, free: 1.887 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)