Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001525/0.001525, allocations: 194.5 kB / 16.14 MB, free: 6.566 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.25 kB / 0.9113 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4037, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.004855/0.4086, allocations: 1.463 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006161/0.4093, allocations: 211.5 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.4093, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.4094, allocations: 7.875 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.4095, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.4097, allocations: 19.91 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.277e-05/0.4098, allocations: 23.92 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.4099, allocations: 7.984 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.41, allocations: 12 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.4101, allocations: 11.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.4101, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.4102, allocations: 23.98 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.4102, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.4103, allocations: 7.938 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.4104, allocations: 44.16 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4104, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4105, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.4105, allocations: 0 / 1.069 GB, free: 9.102 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006109/0.4111, allocations: 347.4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4111, allocations: 8.031 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.4113, allocations: 4.938 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.4115, allocations: 164.3 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4115, allocations: 4.312 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.4115, allocations: 4.375 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.4118, allocations: 50.23 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4118, allocations: 192 / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4118, allocations: 7.938 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4118, allocations: 3.984 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.412, allocations: 31.97 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.4124, allocations: 244.9 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.4126, allocations: 54.41 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.4127, allocations: 20.91 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.4127, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.4127, allocations: 34.56 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.4127, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003575/0.4131, allocations: 89.58 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.4131, allocations: 55.41 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4132, allocations: 97.84 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4133, allocations: 25.7 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.4133, allocations: 84.14 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.4133, allocations: 7.906 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.4134, allocations: 9.719 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.4136, allocations: 318.8 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.4137, allocations: 20.02 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.4138, allocations: 15.98 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.4139, allocations: 44.75 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.414, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001905/0.4142, allocations: 69.61 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4142, allocations: 8 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.4142, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4142, allocations: 3.984 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.4143, allocations: 8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4143, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.4144, allocations: 7.984 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.4144, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001007/0.4145, allocations: 117.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.4145, allocations: 4 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.4148, allocations: 72.77 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4148, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4148, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4148, allocations: 3.938 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.415, allocations: 165.6 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.415, allocations: 4 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.4151, allocations: 8 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4151, allocations: 3.938 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.4151, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4151, allocations: 3.984 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4151, allocations: 4 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.4154, allocations: 171.4 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.4154, allocations: 77.11 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.4154, allocations: 4 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.4155, allocations: 3.984 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.4156, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4156, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.4156, allocations: 83.28 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.344e-06/0.4156, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002112/0.4158, allocations: 7.938 kB / 1.072 GB, free: 6.234 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 (3): * Single equations (assignments): 3 * 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.000138/0.416, allocations: 103.7 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.4163, allocations: 35.97 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4163, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.4164, allocations: 23.97 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4167, allocations: 14.5 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.4171, allocations: 132.5 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.4173, allocations: 0.6809 MB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.116e-05/0.4174, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.4174, allocations: 7.438 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.4174, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.00257/0.42, allocations: 432.4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)