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.714/2.714, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001427/0.001427, allocations: 184.8 kB / 371 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.275/2.275, allocations: 205.4 MB / 0.6297 GB, free: 10.46 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.0009399/0.0009399, allocations: 92.78 kB / 0.743 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007568/0.0007571, allocations: 11.34 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2496, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001384/0.251, allocations: 1.005 MB / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2522, allocations: 0.5988 MB / 0.9799 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.2522, allocations: 4 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.2522, allocations: 4 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.2523, allocations: 11.91 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.2527, allocations: 83.7 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.2528, allocations: 23.84 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.2528, allocations: 0 / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.2529, allocations: 12 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.253, allocations: 11.92 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.253, allocations: 0 / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.2533, allocations: 151.8 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2534, allocations: 15.86 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.2534, allocations: 29.7 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2536, allocations: 60.16 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2536, allocations: 3.984 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2536, allocations: 4 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2536, allocations: 0 / 0.9803 GB, free: 26.27 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.0004244/0.2541, allocations: 339.4 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2541, allocations: 16.02 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.2547, allocations: 35.86 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.423e-05/0.2548, allocations: 171 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2548, allocations: 0 / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.2549, allocations: 0 / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.2551, allocations: 57.66 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2551, allocations: 3.938 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.2551, allocations: 3.984 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2551, allocations: 0 / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.2553, allocations: 27.98 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.2555, allocations: 165.6 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.256, allocations: 70.58 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.2561, allocations: 24.94 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2561, allocations: 0 / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2562, allocations: 34.5 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2562, allocations: 4 kB / 0.9812 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.005362/0.2615, allocations: 0.5763 MB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.2616, allocations: 51.41 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.203e-05/0.2617, allocations: 97.86 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2617, allocations: 25.7 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.017e-05/0.2617, allocations: 80.14 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.2618, allocations: 23.7 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.2618, allocations: 0 / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.2619, allocations: 322.7 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.2621, allocations: 35.97 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.2623, allocations: 36.09 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.2626, allocations: 44.11 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2626, allocations: 0 / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005483/0.2631, allocations: 129.5 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2632, allocations: 4 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2632, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2632, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2636, allocations: 23.97 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2636, allocations: 0 / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.2638, allocations: 8 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.2639, allocations: 11.97 kB / 0.9827 GB, free: 23.62 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 8.155e-05/0.264, allocations: 113.8 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.264, allocations: 11.84 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.2641, allocations: 7.969 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2641, allocations: 0 / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2641, allocations: 8 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2641, allocations: 3.984 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2643, allocations: 183.7 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2643, allocations: 3.984 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.2647, allocations: 27.97 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2647, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.2647, allocations: 4 kB / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2648, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2648, allocations: 0 / 0.983 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.2656, allocations: 193 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.362e-05/0.2656, allocations: 77.11 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.2657, allocations: 8.031 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.266, allocations: 12.05 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.266, allocations: 4 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.266, allocations: 3.984 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.2661, allocations: 79.28 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2661, allocations: 3.938 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.2664, allocations: 35.94 kB / 0.9834 GB, free: 22.76 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.0002286/0.2666, allocations: 131.3 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.2672, allocations: 79.94 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2672, allocations: 0 / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.2674, allocations: 59.83 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.2677, allocations: 9.266 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.2686, allocations: 178.7 kB / 0.9839 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.2688, allocations: 0.681 MB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003698/0.2692, allocations: 23.98 kB / 0.9845 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.677e-05/0.2693, allocations: 19.42 kB / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2693, allocations: 0 / 0.9846 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.004844/0.2741, allocations: 1.445 MB / 0.986 GB, free: 20.13 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)