Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001291/0.001291, 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.00182/0.00182, allocations: 198.5 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.448/1.448, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 66.69 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3739, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002905/0.3768, allocations: 1.473 MB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3779, allocations: 0.6193 MB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.378, allocations: 0 / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.378, allocations: 0 / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.3781, allocations: 3.938 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.3784, allocations: 79.7 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.3785, allocations: 27.92 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.3786, allocations: 8 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.3787, allocations: 15.86 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.3787, allocations: 7.984 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3788, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.379, allocations: 139.8 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.3791, allocations: 7.984 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.3791, allocations: 7.938 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3793, allocations: 108 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3793, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3793, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3793, allocations: 0 / 1.07 GB, free: 8.449 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.0004975/0.3799, allocations: 363.4 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3799, allocations: 8.031 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.3804, allocations: 24.91 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3805, allocations: 172.4 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3805, allocations: 384 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3805, allocations: 384 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3808, allocations: 70.14 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3808, allocations: 192 / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.3808, allocations: 7.938 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3808, allocations: 3.938 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.3811, allocations: 59.92 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.3816, allocations: 268.8 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3819, allocations: 62.48 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.382, allocations: 28.89 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.382, allocations: 11.92 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3821, allocations: 30.56 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3821, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000529/0.3826, allocations: 113.5 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.3826, allocations: 51.41 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.3827, allocations: 105.8 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3828, allocations: 25.7 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.3828, allocations: 88.2 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.3828, allocations: 7.906 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3829, allocations: 17.7 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.383, allocations: 314.8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3832, allocations: 31.91 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3833, allocations: 27.97 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3835, allocations: 56.81 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3836, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002942/0.3839, allocations: 93.62 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3839, allocations: 4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3839, allocations: 4 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3839, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3841, allocations: 11.98 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3841, allocations: 0 / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.189e-05/0.3842, allocations: 7.984 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3842, allocations: 4.031 kB / 1.072 GB, free: 6.188 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 9.452e-05/0.3843, allocations: 125.7 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3843, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.3844, allocations: 3.125 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3844, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3844, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3844, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3846, allocations: 169.5 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3846, allocations: 8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.3847, allocations: 11.98 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3847, allocations: 7.984 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3847, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3847, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3847, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3851, allocations: 191.3 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3852, allocations: 81.11 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3852, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3853, allocations: 7.984 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3854, allocations: 3.938 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.3854, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.3854, allocations: 83.3 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3854, allocations: 4 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002413/0.3857, allocations: 8 kB / 1.073 GB, free: 5.395 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.0001765/0.3859, allocations: 119.2 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.3862, allocations: 59.94 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3862, allocations: 0 / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3864, allocations: 27.97 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3867, allocations: 7.875 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.3871, allocations: 148.4 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.3874, allocations: 0.6731 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.35e-05/0.3875, allocations: 8 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.3876, allocations: 11.42 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3876, allocations: 0 / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of Templates: time 0.003041/0.3906, allocations: 0.7088 MB / 1.074 GB, free: 3.574 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)