Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.863/2.863, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001521/0.001521, allocations: 194 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001218/0.001217, allocations: 97.09 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 15.94 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2386, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002322/0.241, allocations: 0.9938 MB / 0.9792 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2432, allocations: 0.5757 MB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.2433, allocations: 0 / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.2434, allocations: 0 / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.2435, allocations: 11.97 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.2441, allocations: 91.67 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.2442, allocations: 15.92 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.2443, allocations: 7.969 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.2444, allocations: 8 kB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.2445, allocations: 11.98 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2445, allocations: 4 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.245, allocations: 155.8 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.2451, allocations: 4 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.2451, allocations: 33.64 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.2454, allocations: 68.08 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2454, allocations: 0 / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2454, allocations: 0 / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2455, allocations: 0 / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006117/0.2461, allocations: 351.3 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 0.000106/0.2462, allocations: 15.95 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008516/0.2471, allocations: 35.83 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.2472, allocations: 163.1 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2472, allocations: 4 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.2473, allocations: 3.984 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2475, allocations: 57.66 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2475, allocations: 0 / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2476, allocations: 4 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2476, allocations: 0 / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.2478, allocations: 31.91 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.248, allocations: 161.7 kB / 0.9809 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.2485, allocations: 78.52 kB / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2485, allocations: 0 / 0.981 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2486, allocations: 30.56 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.2486, allocations: 0 / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.005727/0.2543, allocations: 0.5682 MB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2544, allocations: 51.41 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.2545, allocations: 101.8 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2545, allocations: 29.83 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.2546, allocations: 80.14 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.2546, allocations: 19.72 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.2547, allocations: 3.938 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.2547, allocations: 314.8 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.255, allocations: 39.95 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.2552, allocations: 47.95 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.2554, allocations: 35.98 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2555, allocations: 0 / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005692/0.256, allocations: 121.6 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2561, allocations: 8 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2561, allocations: 0 / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2561, allocations: 3.938 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.2565, allocations: 24.03 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.465e-06/0.2565, allocations: 4 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2568, allocations: 7.984 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.2568, allocations: 4 kB / 0.9824 GB, free: 23.75 MB / 0.6198 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.2569, allocations: 121.8 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.257, allocations: 7.906 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.24e-05/0.2571, allocations: 7.969 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2571, allocations: 0 / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2571, allocations: 0 / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2571, allocations: 4 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.2573, allocations: 187.7 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2573, allocations: 0 / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.2577, allocations: 23.97 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2577, allocations: 3.938 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.2578, allocations: 3.984 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2578, allocations: 4 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2578, allocations: 0 / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.2587, allocations: 193.3 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.2587, allocations: 77.11 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.2587, allocations: 3.984 kB / 0.9831 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.2591, allocations: 16.09 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.2591, allocations: 11.97 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2592, allocations: 0 / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.2592, allocations: 83.27 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2592, allocations: 3.938 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003397/0.2596, allocations: 27.94 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000257/0.2598, allocations: 139.2 kB / 0.9833 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.2604, allocations: 83.92 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.2604, allocations: 0 / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.2606, allocations: 43.95 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2609, allocations: 17.27 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.2618, allocations: 170.8 kB / 0.9836 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.262, allocations: 0.6809 MB / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003845/0.2624, allocations: 35.83 kB / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2625, allocations: 15.42 kB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/0.2625, allocations: 4 kB / 0.9843 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.005177/0.2677, allocations: 1.426 MB / 0.9857 GB, free: 20.27 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)