Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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 2.133/2.133, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.001053/0.001053, allocations: 176.5 kB / 372 MB, free: 10.29 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.891/1.891, allocations: 205.4 MB / 0.6307 GB, free: 10 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.000828/0.0008283, allocations: 85.09 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004576, allocations: 11.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2481, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001437/0.2496, allocations: 1.006 MB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008246/0.2504, allocations: 0.5442 MB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.2505, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.2505, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.2506, allocations: 3.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.2509, allocations: 79.64 kB / 0.9812 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.251, allocations: 19.88 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.856e-05/0.2511, allocations: 7.984 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.2511, allocations: 7.984 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.2512, allocations: 4 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2512, allocations: 0 / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.2515, allocations: 143.7 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.745e-06/0.2515, allocations: 4 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.2515, allocations: 25.7 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.2516, allocations: 68.14 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2516, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.534e-05/0.2517, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2517, allocations: 3.938 kB / 0.9815 GB, free: 25.65 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000344/0.2521, allocations: 347.3 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2521, allocations: 12.03 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.2522, allocations: 34.5 kB / 0.9819 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004306/0.2526, allocations: 27.95 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.2527, allocations: 167 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2527, allocations: 4 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2527, allocations: 0 / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.2529, allocations: 49.66 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2529, allocations: 3.984 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2529, allocations: 3.938 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2529, allocations: 4 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2531, allocations: 23.92 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.2532, allocations: 161.7 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2533, allocations: 38.55 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.2534, allocations: 20.91 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2535, allocations: 0 / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.2535, allocations: 34.56 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2535, allocations: 0 / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003018/0.2538, allocations: 73.59 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2538, allocations: 51.41 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.2539, allocations: 97.86 kB / 0.9826 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.2539, allocations: 29.83 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/0.254, allocations: 84.12 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.254, allocations: 11.84 kB / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.254, allocations: 0 / 0.9827 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.2541, allocations: 318.8 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.2541, allocations: 7.984 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.2542, allocations: 15.98 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.2543, allocations: 12.06 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2543, allocations: 0 / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001484/0.2544, allocations: 61.61 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2544, allocations: 4 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2545, allocations: 3.984 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2545, allocations: 4 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2546, allocations: 8.031 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2546, allocations: 0 / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.2547, allocations: 3.984 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2547, allocations: 7.938 kB / 0.9832 GB, free: 23.73 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 (2): * Single equations (assignments): 2 * 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 6.209e-05/0.2548, allocations: 109.8 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.2548, allocations: 0 / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2548, allocations: 11.12 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2548, allocations: 4 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2548, allocations: 0 / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2548, allocations: 3.984 kB / 0.9833 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.115e-05/0.2549, allocations: 161.5 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2549, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.255, allocations: 7.984 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.255, allocations: 4 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.255, allocations: 3.938 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.255, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.255, allocations: 0 / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.2552, allocations: 97 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.2553, allocations: 81.09 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2553, allocations: 0 / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.2554, allocations: 4 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.2554, allocations: 3.984 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.2554, allocations: 4.031 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.2554, allocations: 83.47 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2554, allocations: 0 / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001948/0.2556, allocations: 12 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004244/0.2561, allocations: 0.6281 MB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.2562, allocations: 31.91 kB / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2563, allocations: 0 / 0.9844 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.962e-05/0.2563, allocations: 19.98 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2566, allocations: 8.703 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.257, allocations: 158.2 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.2571, allocations: 0.6808 MB / 0.9852 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.827e-05/0.2572, allocations: 20.06 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.2573, allocations: 11.38 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2573, allocations: 0 / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.2706, allocations: 1.365 MB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.2708, allocations: 233.3 kB / 0.9868 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/1.901, allocations: 0 / 0.9868 GB, free: 19.99 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)