Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.853/1.853, allocations: 288.2 MB / 303.2 MB, free: 8.273 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.001042/0.001042, allocations: 190.5 kB / 371.8 MB, free: 10.3 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.665/1.665, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001414/0.001414, allocations: 92.92 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005014, allocations: 15.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2603, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001433/0.2618, allocations: 0.9862 MB / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.2627, allocations: 0.5757 MB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.2628, allocations: 4 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.285e-05/0.2628, allocations: 0 / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.2629, allocations: 11.92 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.2634, allocations: 91.72 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.2635, allocations: 19.91 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.2635, allocations: 4 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.2636, allocations: 4 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.2636, allocations: 15.97 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2637, allocations: 8 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.264, allocations: 151.8 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.264, allocations: 3.984 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.264, allocations: 33.64 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.2642, allocations: 72.08 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2642, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2642, allocations: 0 / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.2643, allocations: 0 / 0.9814 GB, free: 25.63 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.0004383/0.2647, allocations: 351.3 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2648, allocations: 12.02 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.2648, allocations: 34.56 kB / 0.9818 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.2652, allocations: 27.88 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.2653, allocations: 167 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2654, allocations: 0 / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.2654, allocations: 7.984 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2656, allocations: 57.66 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2656, allocations: 7.922 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2656, allocations: 0 / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2656, allocations: 3.938 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.2658, allocations: 31.97 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.266, allocations: 157.6 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.2663, allocations: 70.58 kB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2663, allocations: 0 / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2663, allocations: 34.56 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.2663, allocations: 0 / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.003225/0.2696, allocations: 0.576 MB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.2696, allocations: 55.41 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.2697, allocations: 97.86 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2697, allocations: 29.64 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.2697, allocations: 84.14 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.2698, allocations: 19.7 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.2698, allocations: 0 / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.2698, allocations: 318.8 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.27, allocations: 35.97 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2701, allocations: 40.09 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.2702, allocations: 35.97 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2702, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003008/0.2705, allocations: 129.5 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2706, allocations: 8 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2706, allocations: 0 / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2706, allocations: 0 / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.2708, allocations: 19.97 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2708, allocations: 4.062 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2709, allocations: 11.98 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.271, allocations: 0 / 0.9838 GB, free: 22.97 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.104e-05/0.2711, allocations: 121.8 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.2711, allocations: 7.844 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.2712, allocations: 15.95 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2712, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2712, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2712, allocations: 4 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.2713, allocations: 195.4 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2713, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2715, allocations: 27.91 kB / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2715, allocations: 0 / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2716, allocations: 0 / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2716, allocations: 0 / 0.9841 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2716, allocations: 3.984 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.272, allocations: 193.2 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.2721, allocations: 77.11 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.2721, allocations: 0 / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.2723, allocations: 16.05 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.2723, allocations: 7.938 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.2724, allocations: 8.312 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.942e-05/0.2724, allocations: 75.28 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2724, allocations: 0 / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002475/0.2726, allocations: 31.94 kB / 0.9845 GB, free: 22.11 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.0007903/0.2734, allocations: 0.7647 MB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.2738, allocations: 87.92 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2738, allocations: 3.938 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2739, allocations: 44.08 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.2741, allocations: 14.64 kB / 0.9854 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2753, allocations: 0.5241 MB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2755, allocations: 0.677 MB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.2757, allocations: 35.97 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.2758, allocations: 19.42 kB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2758, allocations: 0 / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.29, allocations: 2.222 MB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.2902, allocations: 249 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.852, allocations: 4 kB / 0.989 GB, free: 17.52 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)