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.908/1.908, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.001037/0.001037, allocations: 176.5 kB / 372 MB, free: 10.24 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.6307 GB, free: 9.965 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.0009557/0.0009558, allocations: 82.42 kB / 0.744 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 11.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2422, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001614/0.2439, allocations: 1.002 MB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.245, allocations: 0.6027 MB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.2451, allocations: 0 / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.2451, allocations: 0 / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.2452, allocations: 11.92 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.2459, allocations: 87.69 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.246, allocations: 27.86 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.14e-05/0.246, allocations: 4 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.2461, allocations: 8 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.2462, allocations: 19.91 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2462, allocations: 0 / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.2466, allocations: 147.7 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.2466, allocations: 7.969 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.2466, allocations: 25.7 kB / 0.9815 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.2468, allocations: 68.09 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2468, allocations: 0 / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2469, allocations: 0 / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.2469, allocations: 4 kB / 0.9816 GB, free: 25.49 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.0005939/0.2475, allocations: 351.3 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.2475, allocations: 15.95 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.2476, allocations: 34.55 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.2481, allocations: 27.88 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2482, allocations: 171 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2482, allocations: 0 / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2483, allocations: 4 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.2485, allocations: 61.58 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2485, allocations: 0 / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.2485, allocations: 0 / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2485, allocations: 4 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.2487, allocations: 27.97 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.2488, allocations: 165.6 kB / 0.9824 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.2491, allocations: 66.52 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.2492, allocations: 32.94 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2493, allocations: 0 / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2493, allocations: 30.56 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2493, allocations: 0 / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.003451/0.2527, allocations: 0.5798 MB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.2528, allocations: 51.41 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.2528, allocations: 97.86 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.2529, allocations: 25.7 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.587e-05/0.2529, allocations: 80.14 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.2529, allocations: 23.7 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.2529, allocations: 128 / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.253, allocations: 318.8 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2531, allocations: 43.91 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.2533, allocations: 35.91 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.2534, allocations: 43.97 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2534, allocations: 0 / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003074/0.2537, allocations: 121.8 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2537, allocations: 5.875 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2537, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2538, allocations: 4 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.254, allocations: 23.97 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.254, allocations: 0 / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.2542, allocations: 7.938 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.2542, allocations: 7.984 kB / 0.984 GB, free: 22.8 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 7.011e-05/0.2543, allocations: 117.7 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.2543, allocations: 7.906 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.2543, allocations: 15.95 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2544, allocations: 4 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2544, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2544, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2545, allocations: 195.4 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2545, allocations: 0 / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.2547, allocations: 23.97 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2548, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.2548, allocations: 8.062 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2548, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2548, allocations: 3.984 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.2553, allocations: 192.9 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.2553, allocations: 77.11 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2553, allocations: 4.031 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2555, allocations: 11.98 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.2556, allocations: 4 kB / 0.9846 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2556, allocations: 7.984 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.985e-05/0.2556, allocations: 79.34 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2556, allocations: 0 / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002406/0.2559, allocations: 31.94 kB / 0.9847 GB, free: 21.93 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.0007379/0.2566, allocations: 0.753 MB / 0.9855 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.2569, allocations: 91.92 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2569, allocations: 3.938 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.2571, allocations: 43.95 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.2573, allocations: 8 kB / 0.9856 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2585, allocations: 0.5162 MB / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.2587, allocations: 0.6809 MB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.2589, allocations: 35.94 kB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.259, allocations: 23.41 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.259, allocations: 0 / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2771, allocations: 2.243 MB / 0.989 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.2774, allocations: 253.4 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.855, allocations: 0 / 0.9893 GB, free: 17.34 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)