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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.832/2.832, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001603/0.001603, allocations: 190.9 kB / 370.8 MB, free: 10.86 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.177/2.177, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001106/0.001106, allocations: 97.05 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004914, allocations: 20.47 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001453/0.2354, allocations: 0.9938 MB / 0.9793 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2366, allocations: 0.5834 MB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.2367, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.2367, allocations: 3.984 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.2367, allocations: 11.98 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2372, allocations: 91.66 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.863e-05/0.2373, allocations: 23.91 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.2374, allocations: 0 / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.521e-05/0.2374, allocations: 8 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.2375, allocations: 11.98 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.2375, allocations: 0 / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.2379, allocations: 155.8 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2379, allocations: 11.98 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.238, allocations: 33.64 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2382, allocations: 68.08 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2382, allocations: 0 / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2382, allocations: 0 / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2382, allocations: 4 kB / 0.9802 GB, free: 26.3 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.0004939/0.2387, allocations: 343.3 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2388, allocations: 12.02 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.2388, allocations: 38.56 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.2394, allocations: 35.81 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2395, allocations: 163.1 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2396, allocations: 0 / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.2396, allocations: 0 / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.2399, allocations: 57.66 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2399, allocations: 4 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.2399, allocations: 3.984 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2399, allocations: 4 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2401, allocations: 23.92 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.2403, allocations: 165.6 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004563/0.2408, allocations: 70.58 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.2408, allocations: 0 / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.2409, allocations: 30.56 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.2409, allocations: 0 / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.005659/0.2465, allocations: 0.5837 MB / 0.9817 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2466, allocations: 51.41 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/0.2467, allocations: 97.86 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2467, allocations: 25.7 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.2468, allocations: 84.27 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.543e-05/0.2468, allocations: 27.64 kB / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.2469, allocations: 0 / 0.982 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.2469, allocations: 318.8 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.2472, allocations: 35.97 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2474, allocations: 31.97 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.2476, allocations: 39.98 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2476, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000568/0.2482, allocations: 121.6 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2483, allocations: 10.17 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2483, allocations: 0 / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.2483, allocations: 8.062 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.2487, allocations: 23.97 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2487, allocations: 240 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.249, allocations: 8 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.249, allocations: 7.984 kB / 0.9826 GB, free: 23.64 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 9.551e-05/0.2491, allocations: 109.8 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2491, allocations: 7.906 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.2492, allocations: 12.3 kB / 0.9827 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2493, allocations: 4 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2493, allocations: 0 / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2493, allocations: 3.984 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2495, allocations: 195.7 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2495, allocations: 4 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.2499, allocations: 23.91 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2499, allocations: 0 / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2499, allocations: 7.984 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2499, allocations: 3.938 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2499, allocations: 3.984 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.2508, allocations: 193 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.2509, allocations: 77.11 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.2509, allocations: 4.031 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.2513, allocations: 11.98 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.2513, allocations: 8.062 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.2513, allocations: 7.984 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.2514, allocations: 79.22 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2514, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003466/0.2517, allocations: 35.94 kB / 0.9833 GB, free: 22.77 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.001185/0.2529, allocations: 0.749 MB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005265/0.2535, allocations: 92.11 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2535, allocations: 0 / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.2538, allocations: 55.89 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.254, allocations: 1.312 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.2559, allocations: 0.5201 MB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.2561, allocations: 0.6809 MB / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003872/0.2565, allocations: 28.09 kB / 0.9854 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2566, allocations: 19.41 kB / 0.9854 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of SimCode: time 1.001e-06/0.2567, allocations: 0 / 0.9854 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.283, allocations: 2.217 MB / 0.9876 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/0.2833, allocations: 241.3 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/2.71, allocations: 2.75 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)