Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, 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.001292/0.001292, allocations: 196.7 kB / 16.14 MB, free: 6.66 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 65.08 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3928, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003266/0.3961, allocations: 1.358 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3974, allocations: 0.5765 MB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.3974, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.3974, allocations: 7.922 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.3975, allocations: 4 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.398, allocations: 83.58 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.3981, allocations: 23.86 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.3981, allocations: 0 / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.3982, allocations: 4 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.3982, allocations: 8 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3982, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.3986, allocations: 163.6 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3986, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.3986, allocations: 4 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.3989, allocations: 92.06 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3989, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3989, allocations: 0 / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3989, allocations: 3.938 kB / 1.07 GB, free: 8.617 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004242/0.3993, allocations: 347.5 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3994, allocations: 12.03 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004688/0.3999, allocations: 32.8 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4, allocations: 164.3 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.4, allocations: 384 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.4, allocations: 384 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.4002, allocations: 54.22 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4002, allocations: 192 / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4002, allocations: 7.938 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4002, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.4004, allocations: 23.97 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.4006, allocations: 157.6 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.4007, allocations: 46.44 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.4008, allocations: 20.91 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4008, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4009, allocations: 30.56 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.4009, allocations: 0 / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003299/0.4012, allocations: 77.59 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.4012, allocations: 51.41 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.4013, allocations: 101.8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4014, allocations: 25.7 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.4014, allocations: 84.08 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.4014, allocations: 7.906 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.4015, allocations: 17.83 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4016, allocations: 318.8 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.4017, allocations: 7.984 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.4018, allocations: 15.98 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.4019, allocations: 28.91 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4019, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001913/0.4021, allocations: 61.67 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4021, allocations: 4 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4021, allocations: 4.125 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4022, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4023, allocations: 11.92 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4023, allocations: 4 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.4024, allocations: 8.016 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4024, allocations: 3.984 kB / 1.071 GB, free: 6.695 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.221e-05/0.4025, allocations: 113.8 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.4025, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.4025, allocations: 15 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4025, allocations: 0 / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4026, allocations: 12 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.4027, allocations: 157.6 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4027, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.4028, allocations: 7.984 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4028, allocations: 11.88 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4028, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4028, allocations: 7.984 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.403, allocations: 81.05 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.4031, allocations: 89.09 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4032, allocations: 3.938 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.4032, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.4033, allocations: 4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4033, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.4033, allocations: 83.3 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4033, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002131/0.4035, allocations: 12 kB / 1.072 GB, free: 6.012 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.0001877/0.4037, allocations: 111.2 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4039, allocations: 31.97 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4039, allocations: 64 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.404, allocations: 19.92 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.4042, allocations: 8.75 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.4046, allocations: 112.4 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.4049, allocations: 0.6732 MB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.633e-05/0.405, allocations: 19.88 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.405, allocations: 15.42 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.405, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.003101/0.4081, allocations: 0.716 MB / 1.074 GB, free: 4.25 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)