Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 180.5 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 101.5 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.00105, allocations: 47.92 kB / 0.8703 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2369, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002593/0.2395, allocations: 1.479 MB / 0.9837 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.2404, allocations: 0.6132 MB / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.2405, allocations: 0 / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.2405, allocations: 4 kB / 0.9843 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.2406, allocations: 7.922 kB / 0.9843 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.2409, allocations: 79.7 kB / 0.9843 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.2409, allocations: 23.92 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.241, allocations: 8 kB / 0.9844 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.2411, allocations: 7.938 kB / 0.9844 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.2411, allocations: 11.98 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.2411, allocations: 7.938 kB / 0.9844 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.2414, allocations: 147.7 kB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2414, allocations: 4 kB / 0.9845 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2414, allocations: 11.92 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.2416, allocations: 104 kB / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2416, allocations: 0 / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2416, allocations: 0 / 0.9847 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.2417, allocations: 0 / 0.9847 GB, free: 7.867 MB / 0.7136 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.0004379/0.2421, allocations: 359.4 kB / 0.985 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2421, allocations: 12.03 kB / 0.985 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003715/0.2425, allocations: 28.89 kB / 0.985 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2426, allocations: 172.3 kB / 0.9852 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2427, allocations: 384 / 0.9852 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2427, allocations: 384 / 0.9852 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.2429, allocations: 70.2 kB / 0.9853 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2429, allocations: 4.188 kB / 0.9853 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2429, allocations: 3.938 kB / 0.9853 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.243, allocations: 0 / 0.9853 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2432, allocations: 55.88 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.2436, allocations: 272.9 kB / 0.9856 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.2438, allocations: 62.47 kB / 0.9856 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.244, allocations: 36.83 kB / 0.9857 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.244, allocations: 4 kB / 0.9857 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.244, allocations: 30.56 kB / 0.9857 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.2441, allocations: 0 / 0.9857 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0004913/0.2446, allocations: 117.6 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.2446, allocations: 51.41 kB / 0.9859 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.2447, allocations: 101.9 kB / 0.986 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2447, allocations: 25.7 kB / 0.986 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.2447, allocations: 84.14 kB / 0.9861 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.2448, allocations: 7.891 kB / 0.9861 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.2448, allocations: 13.72 kB / 0.9861 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2449, allocations: 310.8 kB / 0.9864 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2451, allocations: 32 kB / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.2452, allocations: 27.97 kB / 0.9865 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.2454, allocations: 64.8 kB / 0.9865 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2455, allocations: 0 / 0.9865 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002856/0.2457, allocations: 89.58 kB / 0.9866 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2458, allocations: 11.94 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2458, allocations: 0 / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2458, allocations: 0 / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.2459, allocations: 20 kB / 0.9866 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2459, allocations: 0 / 0.9866 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.246, allocations: 7.984 kB / 0.9866 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.246, allocations: 4 kB / 0.9866 GB, free: 5.602 MB / 0.7136 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 7.346e-05/0.2461, allocations: 113.8 kB / 0.9868 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2461, allocations: 3.906 kB / 0.9868 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.2462, allocations: 11.12 kB / 0.9868 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2462, allocations: 0 / 0.9868 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2462, allocations: 3.984 kB / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2462, allocations: 0 / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2464, allocations: 169.5 kB / 0.9869 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2464, allocations: 4 kB / 0.9869 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2465, allocations: 15.92 kB / 0.987 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2465, allocations: 0 / 0.987 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2465, allocations: 0 / 0.987 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2465, allocations: 7.984 kB / 0.987 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2465, allocations: 0 / 0.987 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/0.2473, allocations: 0.7554 MB / 0.9877 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.2473, allocations: 85.09 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2473, allocations: 3.938 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2475, allocations: 11.98 kB / 0.9878 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2475, allocations: 0 / 0.9878 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2475, allocations: 11.92 kB / 0.9878 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.2476, allocations: 79.28 kB / 0.9879 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2476, allocations: 4 kB / 0.9879 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003089/0.2479, allocations: 12 kB / 0.9879 GB, free: 4.188 MB / 0.7136 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.0001543/0.248, allocations: 109.5 kB / 0.988 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.2483, allocations: 59.94 kB / 0.9881 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2483, allocations: 4.062 kB / 0.9881 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2485, allocations: 31.91 kB / 0.9881 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2487, allocations: 4 kB / 0.9881 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.2492, allocations: 243 kB / 0.9883 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.2495, allocations: 0.6809 MB / 0.989 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.2495, allocations: 4 kB / 0.989 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.2496, allocations: 15.42 kB / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.2496, allocations: 0 / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of Templates: time 0.002625/0.2522, allocations: 0.722 MB / 0.9897 GB, free: 2.25 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)