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.0045/0.0045, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001262/0.001262, allocations: 197.1 kB / 16.68 MB, free: 5.926 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 288.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9176/0.9176, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 95.84 kB / 0.6814 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.4757, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.003299/0.4791, allocations: 1.292 MB / 0.7676 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.4803, allocations: 0.5711 MB / 0.7682 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.4803, allocations: 0 / 0.7682 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.4803, allocations: 0 / 0.7682 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.4805, allocations: 7.922 kB / 0.7682 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.481, allocations: 95.52 kB / 0.7683 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.481, allocations: 15.92 kB / 0.7683 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.4811, allocations: 11.92 kB / 0.7683 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.4811, allocations: 8 kB / 0.7683 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.4812, allocations: 7.938 kB / 0.7683 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.4812, allocations: 4 kB / 0.7683 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.4815, allocations: 147.8 kB / 0.7685 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.4815, allocations: 0 / 0.7685 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.4816, allocations: 7.938 kB / 0.7685 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.4818, allocations: 87.42 kB / 0.7686 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4818, allocations: 0 / 0.7686 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4818, allocations: 3.984 kB / 0.7686 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.4818, allocations: 0 / 0.7686 GB, free: 1.648 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.0004868/0.4823, allocations: 342.1 kB / 0.7689 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4823, allocations: 16.03 kB / 0.7689 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004363/0.4828, allocations: 32.81 kB / 0.769 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4829, allocations: 168.3 kB / 0.7691 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.4829, allocations: 4.375 kB / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.483, allocations: 384 / 0.7691 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4831, allocations: 46.23 kB / 0.7692 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.4831, allocations: 4.188 kB / 0.7692 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4832, allocations: 3.938 kB / 0.7692 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4832, allocations: 0 / 0.7692 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4833, allocations: 19.97 kB / 0.7692 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.4835, allocations: 157.7 kB / 0.7693 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.4836, allocations: 50.52 kB / 0.7694 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.668e-05/0.4837, allocations: 20.91 kB / 0.7694 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.4837, allocations: 0 / 0.7694 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.4838, allocations: 30.56 kB / 0.7694 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4838, allocations: 0 / 0.7694 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002943/0.4841, allocations: 81.58 kB / 0.7695 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.4841, allocations: 55.34 kB / 0.7696 GB, free: 468 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.4842, allocations: 93.86 kB / 0.7697 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4842, allocations: 29.64 kB / 0.7697 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.4842, allocations: 84.14 kB / 0.7698 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4843, allocations: 7.906 kB / 0.7698 GB, free: 232 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.4843, allocations: 13.7 kB / 0.7698 GB, free: 212 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4844, allocations: 315 kB / 0.7701 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.4845, allocations: 15.98 kB / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.4846, allocations: 15.98 kB / 0.7701 GB, free: 15.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.4847, allocations: 24.84 kB / 0.7701 GB, free: 15.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4847, allocations: 4.062 kB / 0.7701 GB, free: 15.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001691/0.4849, allocations: 57.67 kB / 0.7702 GB, free: 15.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4849, allocations: 4 kB / 0.7702 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4849, allocations: 3.938 kB / 0.7702 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.4849, allocations: 3.984 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4851, allocations: 7.938 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.4851, allocations: 0 / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.4852, allocations: 19.95 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.4852, allocations: 0 / 0.7702 GB, free: 15.73 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.181e-05/0.4853, allocations: 112.2 kB / 0.7703 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.4853, allocations: 3.906 kB / 0.7704 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.4853, allocations: 7.062 kB / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4853, allocations: 0 / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4853, allocations: 0 / 0.7704 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4854, allocations: 8 kB / 0.7704 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.4855, allocations: 161.6 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4855, allocations: 0 / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.4856, allocations: 4 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4856, allocations: 3.984 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4856, allocations: 3.938 kB / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4856, allocations: 0 / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4856, allocations: 0 / 0.7705 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.4858, allocations: 89.05 kB / 0.7706 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.4859, allocations: 81.09 kB / 0.7707 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4859, allocations: 15.94 kB / 0.7707 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.486, allocations: 0 / 0.7707 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.486, allocations: 3.984 kB / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.486, allocations: 4 kB / 0.7707 GB, free: 15.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.4861, allocations: 75.28 kB / 0.7708 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4861, allocations: 7.969 kB / 0.7708 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002105/0.4863, allocations: 19.94 kB / 0.7708 GB, free: 15.05 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.0001917/0.4865, allocations: 107.2 kB / 0.7709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4867, allocations: 31.97 kB / 0.7709 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4867, allocations: 0 / 0.7709 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.4868, allocations: 19.98 kB / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.487, allocations: 7.547 kB / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.4875, allocations: 114.7 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4877, allocations: 0.6768 MB / 0.7717 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.565e-05/0.4878, allocations: 12.06 kB / 0.7718 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.4878, allocations: 11.38 kB / 0.7718 GB, free: 14.01 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4879, allocations: 0 / 0.7718 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Templates: time 0.00304/0.4909, allocations: 0.7451 MB / 0.7725 GB, free: 13.28 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)