Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",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.752/2.752, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.00133/0.001329, allocations: 176.5 kB / 371 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.166/2.166, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009102/0.0009096, allocations: 86.72 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005794, allocations: 15.48 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2423, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00177/0.2441, allocations: 1.129 MB / 0.9795 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2452, allocations: 0.5638 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.2453, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.2453, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.2454, allocations: 7.938 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.2458, allocations: 83.69 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.2459, allocations: 19.92 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.246, allocations: 7.938 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.246, allocations: 8 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.2461, allocations: 7.984 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.2461, allocations: 0 / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.2465, allocations: 151.7 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.2465, allocations: 0 / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.2465, allocations: 37.64 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2467, allocations: 72.12 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2468, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2468, allocations: 0 / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2468, allocations: 0 / 0.9805 GB, free: 26.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005019/0.2473, allocations: 359.2 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2473, allocations: 20.02 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.2474, allocations: 34.55 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/0.248, allocations: 31.86 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2481, allocations: 159.1 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2481, allocations: 4 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2482, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.2485, allocations: 81.62 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2485, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2486, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2486, allocations: 0 / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.249, allocations: 71.88 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.2495, allocations: 272.8 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.2499, allocations: 62.53 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.2502, allocations: 36.89 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.2502, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2502, allocations: 38.5 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.2502, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007822/0.251, allocations: 137.5 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2511, allocations: 55.41 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.2512, allocations: 101.8 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.2512, allocations: 25.7 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2512, allocations: 84.12 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.2513, allocations: 12.03 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.2513, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.2514, allocations: 314.8 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2516, allocations: 27.97 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.2518, allocations: 35.97 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.2521, allocations: 35.91 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2521, allocations: 0 / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005215/0.2526, allocations: 97.7 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2527, allocations: 9.719 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2527, allocations: 4 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.2527, allocations: 0 / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.253, allocations: 23.95 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.253, allocations: 4 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2531, allocations: 4 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.2532, allocations: 11.92 kB / 0.9825 GB, free: 23.82 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 8.153e-05/0.2533, allocations: 105.8 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2533, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.2534, allocations: 15.06 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2534, allocations: 0 / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2534, allocations: 3.953 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2534, allocations: 0 / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2536, allocations: 161.7 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2536, allocations: 0 / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2538, allocations: 19.91 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2538, allocations: 4 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2538, allocations: 4 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2539, allocations: 0 / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2539, allocations: 0 / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.2544, allocations: 203.3 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.2544, allocations: 77.11 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2545, allocations: 0 / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2547, allocations: 11.98 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.2547, allocations: 0 / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2547, allocations: 7.984 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.2548, allocations: 87.27 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2548, allocations: 0 / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003094/0.2551, allocations: 16 kB / 0.9832 GB, free: 23.02 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.0008104/0.2559, allocations: 0.7436 MB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.2564, allocations: 67.97 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2564, allocations: 0 / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.2567, allocations: 35.97 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.257, allocations: 18.23 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.2578, allocations: 174.2 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.2579, allocations: 0.677 MB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.2581, allocations: 15.84 kB / 0.9849 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.2582, allocations: 19.42 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2582, allocations: 0 / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.2775, allocations: 1.392 MB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2779, allocations: 203.6 kB / 0.9865 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.001, allocations: 0 / 0.9865 GB, free: 19.71 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)