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.001096/0.001096, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001191/0.001192, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 66.95 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3811, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003069/0.3842, allocations: 1.473 MB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004987/0.3847, allocations: 207.4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.3848, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.3849, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.3849, allocations: 3.984 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.3852, allocations: 23.91 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.983e-05/0.3853, allocations: 23.88 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3854, allocations: 8 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.3855, allocations: 11.97 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.254e-05/0.3855, allocations: 15.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3855, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.514e-05/0.3856, allocations: 27.98 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.3856, allocations: 4 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.3857, allocations: 11.88 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3858, allocations: 40.22 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3858, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3858, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3858, allocations: 0 / 1.069 GB, free: 8.926 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.0004775/0.3863, allocations: 347.3 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3864, allocations: 8.031 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3865, allocations: 8.938 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3867, allocations: 164.4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3867, allocations: 384 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.3867, allocations: 384 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3869, allocations: 50.23 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3869, allocations: 192 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3869, allocations: 3.938 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.387, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.3871, allocations: 43.89 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3875, allocations: 244.9 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3877, allocations: 46.47 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.3878, allocations: 24.91 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3878, allocations: 4 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3878, allocations: 30.56 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3878, allocations: 0 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003792/0.3882, allocations: 89.48 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3883, allocations: 51.41 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.3884, allocations: 102 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3884, allocations: 29.7 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.3884, allocations: 84.14 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3884, allocations: 3.906 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3885, allocations: 9.719 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3886, allocations: 322.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.3887, allocations: 11.98 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.3888, allocations: 19.98 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3889, allocations: 44.75 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3889, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.3891, allocations: 65.61 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3892, allocations: 4 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3892, allocations: 192 / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3892, allocations: 4.094 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.3893, allocations: 11.98 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3893, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.3894, allocations: 11.97 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3894, allocations: 3.938 kB / 1.071 GB, free: 6.891 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 8.779e-05/0.3895, allocations: 113.8 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3895, allocations: 4 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3898, allocations: 84.7 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3898, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3898, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3898, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.39, allocations: 161.6 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.39, allocations: 7.984 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.3901, allocations: 4 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3901, allocations: 0 / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3901, allocations: 8 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3901, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3901, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3904, allocations: 175.3 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3904, allocations: 81.11 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3904, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.3905, allocations: 15.98 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3906, allocations: 3.938 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.3906, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.3906, allocations: 79.28 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3906, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002318/0.3909, allocations: 4 kB / 1.072 GB, free: 6.062 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.0001203/0.391, allocations: 103.2 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.3912, allocations: 39.97 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3912, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.3913, allocations: 27.91 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3917, allocations: 8.641 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.392, allocations: 122.5 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3923, allocations: 0.6807 MB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.28e-05/0.3923, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.3924, allocations: 11.44 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3924, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.002787/0.3952, allocations: 453.8 kB / 1.073 GB, free: 4.57 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)