Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 178.4 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007714/0.0007715, allocations: 85.23 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 10.62 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2402, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001845/0.2421, allocations: 1.141 MB / 0.8979 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.2432, allocations: 0.6187 MB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.2432, allocations: 4 kB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.687e-05/0.2433, allocations: 0 / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.2433, allocations: 11.88 kB / 0.8985 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.2437, allocations: 75.7 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.2437, allocations: 19.94 kB / 0.8986 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2439, allocations: 15.97 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.2439, allocations: 4 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.244, allocations: 15.86 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.244, allocations: 0 / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.2442, allocations: 147.8 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.2442, allocations: 3.984 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.2443, allocations: 11.94 kB / 0.8988 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.2444, allocations: 63.91 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2444, allocations: 4 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2445, allocations: 0 / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2445, allocations: 0 / 0.8988 GB, free: 66.06 MB / 0.6042 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.0004271/0.2449, allocations: 359.5 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2449, allocations: 12.03 kB / 0.8992 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.2454, allocations: 32.83 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.2455, allocations: 172.2 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2455, allocations: 384 / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2455, allocations: 4.312 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2457, allocations: 78.2 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2458, allocations: 192 / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2458, allocations: 3.938 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2458, allocations: 0 / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.246, allocations: 63.94 kB / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.2465, allocations: 280.7 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.2467, allocations: 74.45 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.2468, allocations: 40.89 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2468, allocations: 0 / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.2469, allocations: 34.56 kB / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2469, allocations: 0 / 0.8999 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000474/0.2473, allocations: 129.6 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2474, allocations: 51.41 kB / 0.9001 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.2474, allocations: 101.8 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2475, allocations: 29.7 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.958e-05/0.2475, allocations: 84.14 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2475, allocations: 3.906 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.2475, allocations: 13.75 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2476, allocations: 318.8 kB / 0.9006 GB, free: 64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2477, allocations: 27.97 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.2478, allocations: 35.97 kB / 0.9007 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2481, allocations: 64.81 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2481, allocations: 4.062 kB / 0.9007 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002718/0.2484, allocations: 109.4 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2484, allocations: 4 kB / 0.9009 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2484, allocations: 4.031 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2484, allocations: 0 / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2485, allocations: 15.98 kB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2486, allocations: 0 / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.743e-05/0.2487, allocations: 11.98 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2487, allocations: 0 / 0.9009 GB, free: 63.71 MB / 0.6042 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 6.413e-05/0.2487, allocations: 121.8 kB / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.2488, allocations: 0 / 0.901 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.2488, allocations: 11.05 kB / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2488, allocations: 0 / 0.901 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2488, allocations: 7.938 kB / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2488, allocations: 0 / 0.901 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.249, allocations: 165.6 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.249, allocations: 0 / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2491, allocations: 19.98 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2491, allocations: 0 / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2491, allocations: 3.984 kB / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2491, allocations: 0 / 0.9012 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2491, allocations: 3.938 kB / 0.9012 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.2494, allocations: 195.4 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.2494, allocations: 85.09 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.2495, allocations: 4 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2496, allocations: 12.03 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.2496, allocations: 3.984 kB / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2496, allocations: 0 / 0.9015 GB, free: 63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.2497, allocations: 79.28 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2497, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002448/0.2499, allocations: 23.83 kB / 0.9016 GB, free: 62.9 MB / 0.6042 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.0001461/0.2501, allocations: 111.2 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000294/0.2504, allocations: 71.88 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2504, allocations: 0 / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2505, allocations: 40.02 kB / 0.9018 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2508, allocations: 9.484 kB / 0.9018 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2512, allocations: 158 kB / 0.902 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2513, allocations: 0.681 MB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.2514, allocations: 15.42 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2514, allocations: 0 / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.002077/0.2535, allocations: 0.8865 MB / 0.9035 GB, free: 60.87 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)