Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, 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.001794/0.001794, allocations: 193 kB / 16.13 MB, free: 6.656 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.527/1.527, 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 3.05/3.05, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.36 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003323/0.3536, allocations: 1.465 MB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3547, allocations: 0.6077 MB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.3548, allocations: 4 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.3549, allocations: 0 / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.355, allocations: 11.86 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.3555, allocations: 83.7 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.3556, allocations: 19.88 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3557, allocations: 7.984 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.3558, allocations: 11.98 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.892e-05/0.3558, allocations: 11.92 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3558, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003219/0.3562, allocations: 151.7 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3562, allocations: 7.984 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.3562, allocations: 7.938 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3565, allocations: 112 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3565, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.12e-07/0.3565, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3566, allocations: 0 / 1.07 GB, free: 8.395 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.0006287/0.3572, allocations: 359.4 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3572, allocations: 8.031 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.3577, allocations: 32.89 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3579, allocations: 160.4 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3579, allocations: 4.375 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3579, allocations: 384 / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.3582, allocations: 66.2 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3582, allocations: 192 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3582, allocations: 7.875 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3582, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.3585, allocations: 55.94 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.3591, allocations: 272.8 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3594, allocations: 62.47 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.3595, allocations: 36.89 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3595, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3596, allocations: 38.5 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3596, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0005246/0.3601, allocations: 113.5 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3602, allocations: 55.34 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3603, allocations: 102 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3604, allocations: 29.83 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.3604, allocations: 88.08 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3604, allocations: 7.906 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3605, allocations: 17.7 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002684/0.3608, allocations: 310.8 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.3611, allocations: 23.97 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3613, allocations: 35.91 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3615, allocations: 60.8 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3615, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003243/0.3619, allocations: 89.64 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3619, allocations: 7.938 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3619, allocations: 48 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3619, allocations: 3.984 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.3624, allocations: 11.98 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.3624, allocations: 7.984 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.3625, allocations: 8.031 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3625, allocations: 3.984 kB / 1.072 GB, free: 6.129 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.0001204/0.3626, allocations: 117.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3627, allocations: 3.938 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.3627, allocations: 3.125 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3627, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3628, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3628, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.363, allocations: 177.6 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.363, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3631, allocations: 15.97 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3632, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3632, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3632, allocations: 4 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3632, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.3636, allocations: 187.3 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3637, allocations: 81.11 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3637, allocations: 0 / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3638, allocations: 15.92 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.3639, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.3639, allocations: 12.02 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.364, allocations: 83.22 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.364, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002654/0.3643, allocations: 12 kB / 1.073 GB, free: 5.336 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 (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 Backend phase and start with SimCode phase: time 0.0002515/0.3645, allocations: 115.2 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.3649, allocations: 55.94 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3649, allocations: 4 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3651, allocations: 27.97 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3654, allocations: 5.188 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.366, allocations: 147.2 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3664, allocations: 0.677 MB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.3666, allocations: 7.938 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.3666, allocations: 11.44 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3667, allocations: 0 / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.003823/0.3705, allocations: 0.704 MB / 1.074 GB, free: 3.527 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)