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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8234/0.8234, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 186.9 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 95.77 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 283.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 87.86 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3423, allocations: 81.28 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002053/0.3444, allocations: 1.363 MB / 0.7693 GB, free: 26.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.3452, allocations: 0.5707 MB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.3453, allocations: 4 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.3453, allocations: 4 kB / 0.7698 GB, free: 25.75 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/0.3453, allocations: 11.86 kB / 0.7698 GB, free: 25.73 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3457, allocations: 75.7 kB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.3457, allocations: 23.86 kB / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3458, allocations: 4 kB / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.3458, allocations: 4 kB / 0.7699 GB, free: 25.63 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.3458, allocations: 4 kB / 0.7699 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3459, allocations: 3.938 kB / 0.7699 GB, free: 25.62 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.3461, allocations: 159.7 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.3461, allocations: 0 / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.3462, allocations: 4 kB / 0.7701 GB, free: 25.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.3464, allocations: 98.44 kB / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3464, allocations: 0 / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3464, allocations: 0 / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.3464, allocations: 0 / 0.7702 GB, free: 25.37 MB / 458.7 MB 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.0003154/0.3467, allocations: 343.5 kB / 0.7705 GB, free: 24.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3468, allocations: 12.03 kB / 0.7705 GB, free: 24.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.3472, allocations: 36.8 kB / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.3473, allocations: 168.3 kB / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3473, allocations: 384 / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3473, allocations: 384 / 0.7707 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3474, allocations: 46.23 kB / 0.7708 GB, free: 24.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3475, allocations: 12.17 kB / 0.7708 GB, free: 24.67 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3475, allocations: 3.938 kB / 0.7708 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3475, allocations: 0 / 0.7708 GB, free: 24.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3476, allocations: 23.92 kB / 0.7708 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.3478, allocations: 157.6 kB / 0.771 GB, free: 24.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.3479, allocations: 42.55 kB / 0.771 GB, free: 24.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.766e-05/0.348, allocations: 20.91 kB / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.348, allocations: 0 / 0.771 GB, free: 24.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.348, allocations: 30.56 kB / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.348, allocations: 0 / 0.771 GB, free: 24.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002859/0.3483, allocations: 81.53 kB / 0.7711 GB, free: 24.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.3484, allocations: 51.41 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.3484, allocations: 97.86 kB / 0.7713 GB, free: 24.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.3484, allocations: 25.7 kB / 0.7713 GB, free: 24.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.3485, allocations: 88.12 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.3485, allocations: 3.906 kB / 0.7714 GB, free: 23.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3485, allocations: 17.72 kB / 0.7714 GB, free: 23.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.3486, allocations: 319 kB / 0.7717 GB, free: 23.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.3486, allocations: 4 kB / 0.7717 GB, free: 23.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.3487, allocations: 15.98 kB / 0.7717 GB, free: 23.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.3488, allocations: 24.84 kB / 0.7717 GB, free: 23.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3488, allocations: 4.062 kB / 0.7717 GB, free: 23.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001553/0.349, allocations: 69.59 kB / 0.7718 GB, free: 23.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.349, allocations: 4 kB / 0.7718 GB, free: 23.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.349, allocations: 3.938 kB / 0.7718 GB, free: 23.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.349, allocations: 192 / 0.7718 GB, free: 23.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.3491, allocations: 15.98 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3492, allocations: 0 / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.3492, allocations: 4.031 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3492, allocations: 3.984 kB / 0.7718 GB, free: 23.45 MB / 458.7 MB 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 4.709e-05/0.3493, allocations: 109.8 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.3493, allocations: 0 / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.3493, allocations: 15.05 kB / 0.772 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3494, allocations: 4 kB / 0.772 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3494, allocations: 0 / 0.772 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3494, allocations: 3.938 kB / 0.772 GB, free: 23.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.785e-05/0.3494, allocations: 161.6 kB / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3495, allocations: 0 / 0.7721 GB, free: 23.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.3495, allocations: 7.984 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3495, allocations: 3.938 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3496, allocations: 3.938 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3496, allocations: 7.938 kB / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3496, allocations: 0 / 0.7721 GB, free: 23.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.3499, allocations: 0.6396 MB / 0.7728 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.35, allocations: 85.09 kB / 0.7729 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.35, allocations: 4 kB / 0.7729 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.35, allocations: 0 / 0.7729 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.3501, allocations: 0 / 0.7729 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.3501, allocations: 12.02 kB / 0.7729 GB, free: 22.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.704e-05/0.3501, allocations: 75.28 kB / 0.7729 GB, free: 22.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3501, allocations: 0 / 0.7729 GB, free: 22.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003188/0.3504, allocations: 16 kB / 0.773 GB, free: 22.17 MB / 458.7 MB 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.0001394/0.3506, allocations: 111.7 kB / 0.7731 GB, free: 22.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.3507, allocations: 35.97 kB / 0.7731 GB, free: 22.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3508, allocations: 0 / 0.7731 GB, free: 22.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/0.3508, allocations: 15.92 kB / 0.7731 GB, free: 22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3511, allocations: 11.94 kB / 0.7731 GB, free: 21.99 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.3514, allocations: 227.1 kB / 0.7733 GB, free: 21.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.759e-05/0.3515, allocations: 0.677 MB / 0.774 GB, free: 21.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.39e-05/0.3516, allocations: 7.938 kB / 0.774 GB, free: 21.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3517, allocations: 11.44 kB / 0.774 GB, free: 21 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3517, allocations: 0 / 0.774 GB, free: 21 MB / 458.7 MB Notification: Performance of Templates: time 0.002341/0.354, allocations: 0.7257 MB / 0.7747 GB, free: 20.29 MB / 458.7 MB 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)