Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00125/0.00125, allocations: 111.1 kB / 16.41 MB, free: 6.016 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.001257/0.001257, allocations: 186.6 kB / 17.34 MB, free: 5.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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 288.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4684, allocations: 86.97 MB / 0.7671 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002208/0.4706, allocations: 1.296 MB / 0.7683 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000961/0.4716, allocations: 0.5711 MB / 0.7689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.4716, allocations: 0 / 0.7689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.4716, allocations: 4 kB / 0.7689 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.553e-05/0.4716, allocations: 7.922 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.472, allocations: 95.56 kB / 0.769 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.472, allocations: 15.88 kB / 0.769 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.4721, allocations: 0 / 0.769 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.4721, allocations: 11.98 kB / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.4722, allocations: 11.92 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.4722, allocations: 0 / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.4724, allocations: 147.8 kB / 0.7692 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.4725, allocations: 0 / 0.7692 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.4725, allocations: 15.86 kB / 0.7692 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.4727, allocations: 87.08 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.4727, allocations: 0 / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4727, allocations: 0 / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.4727, allocations: 0 / 0.7693 GB, free: 1.543 MB / 0.5294 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.0005272/0.4732, allocations: 341.7 kB / 0.7696 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4732, allocations: 15.97 kB / 0.7696 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004648/0.4737, allocations: 36.89 kB / 0.7696 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.4739, allocations: 164.3 kB / 0.7698 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.4739, allocations: 384 / 0.7698 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4739, allocations: 384 / 0.7698 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4741, allocations: 50.22 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4741, allocations: 4.188 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4741, allocations: 7.875 kB / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4741, allocations: 7.938 kB / 0.7699 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.4742, allocations: 23.97 kB / 0.7699 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.4745, allocations: 153.7 kB / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4746, allocations: 34.56 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.4747, allocations: 24.91 kB / 0.7701 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4747, allocations: 0 / 0.7701 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.4748, allocations: 30.56 kB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4748, allocations: 0 / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.4751, allocations: 89.56 kB / 0.7702 GB, free: 420 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.4752, allocations: 51.41 kB / 0.7702 GB, free: 356 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.4753, allocations: 97.84 kB / 0.7703 GB, free: 248 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4753, allocations: 25.7 kB / 0.7704 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.4753, allocations: 84.14 kB / 0.7704 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4754, allocations: 7.953 kB / 0.7704 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.4754, allocations: 13.7 kB / 0.7705 GB, free: 100 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4756, allocations: 314.8 kB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.4756, allocations: 16.02 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.4757, allocations: 15.98 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4758, allocations: 28.78 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4758, allocations: 0 / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.476, allocations: 61.73 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.476, allocations: 6.812 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.476, allocations: 3.938 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.476, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4761, allocations: 7.984 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4761, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.4762, allocations: 8 kB / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.4762, allocations: 7.922 kB / 0.7709 GB, free: 15.62 MB / 0.545 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.257e-05/0.4763, allocations: 116.3 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.4763, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.4763, allocations: 7.062 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.4763, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4763, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.4763, allocations: 4 kB / 0.771 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.4765, allocations: 157.7 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4765, allocations: 4 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.4766, allocations: 11.92 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4766, allocations: 0 / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4766, allocations: 7.875 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.4766, allocations: 3.984 kB / 0.7712 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4766, allocations: 0 / 0.7712 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.4768, allocations: 89.06 kB / 0.7713 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.4769, allocations: 85.09 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.4769, allocations: 7.938 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.682e-05/0.4769, allocations: 0 / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.4769, allocations: 0 / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.477, allocations: 4 kB / 0.7714 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.477, allocations: 79.27 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.477, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000201/0.4772, allocations: 15.94 kB / 0.7715 GB, free: 14.95 MB / 0.545 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.0001745/0.4774, allocations: 119.2 kB / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.4776, allocations: 31.91 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4776, allocations: 4 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.4776, allocations: 11.98 kB / 0.7716 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.4778, allocations: 8.688 kB / 0.7716 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.4782, allocations: 118.7 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4785, allocations: 0.6729 MB / 0.7724 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.826e-05/0.4785, allocations: 15.92 kB / 0.7724 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4786, allocations: 15.38 kB / 0.7724 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4786, allocations: 3.938 kB / 0.7725 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Templates: time 0.003117/0.4817, allocations: 0.7368 MB / 0.7732 GB, free: 13.17 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)