Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.686/2.686, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001341/0.001341, allocations: 183.6 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.271/2.271, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001554/0.001553, allocations: 82.42 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006739/0.0006743, allocations: 20.06 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2299, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001572/0.2315, allocations: 1.006 MB / 0.9794 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2327, allocations: 0.5403 MB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.2328, allocations: 0 / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.2328, allocations: 3.984 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.2329, allocations: 11.92 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.2334, allocations: 75.7 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.2335, allocations: 19.81 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.2336, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.2336, allocations: 8 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.2337, allocations: 11.97 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2337, allocations: 0 / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.2341, allocations: 143.7 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.2342, allocations: 8 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.2342, allocations: 25.7 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2344, allocations: 64.16 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2344, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2345, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2345, allocations: 0 / 0.9803 GB, free: 26.34 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.0004066/0.2349, allocations: 343.3 kB / 0.9806 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.2349, allocations: 12.02 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.235, allocations: 34.56 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.2356, allocations: 39.77 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2358, allocations: 159.1 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2358, allocations: 3.938 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.2359, allocations: 0 / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.2361, allocations: 49.66 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2361, allocations: 0 / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2361, allocations: 4 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2362, allocations: 4 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.2364, allocations: 23.97 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.2366, allocations: 161.6 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2368, allocations: 42.55 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.2369, allocations: 16.92 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.237, allocations: 3.984 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.237, allocations: 34.55 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.237, allocations: 0 / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004461/0.2375, allocations: 73.61 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2375, allocations: 55.39 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.2376, allocations: 97.86 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2376, allocations: 25.7 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.2377, allocations: 80.14 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.2377, allocations: 7.844 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.2377, allocations: 4 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.2378, allocations: 314.9 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2379, allocations: 15.98 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.238, allocations: 15.98 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2381, allocations: 11.98 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2382, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000297/0.2385, allocations: 61.73 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2385, allocations: 10.75 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2385, allocations: 0 / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.2385, allocations: 4 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2387, allocations: 7.984 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2387, allocations: 0 / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2388, allocations: 0 / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2389, allocations: 4 kB / 0.982 GB, free: 24.43 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.676e-05/0.239, allocations: 117.8 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.239, allocations: 4.188 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.2391, allocations: 15.05 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2391, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2391, allocations: 3.938 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2391, allocations: 0 / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2392, allocations: 161.5 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2392, allocations: 0 / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.2394, allocations: 11.98 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2394, allocations: 0 / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2394, allocations: 8 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2394, allocations: 0 / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2394, allocations: 3.984 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.2398, allocations: 85 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.2398, allocations: 89.12 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2399, allocations: 0 / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.24, allocations: 4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.24, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.24, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.2401, allocations: 83.27 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2401, allocations: 0 / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002733/0.2404, allocations: 8 kB / 0.9825 GB, free: 23.75 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.0005984/0.241, allocations: 0.6359 MB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.2413, allocations: 35.94 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2413, allocations: 0 / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.2414, allocations: 11.98 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2417, allocations: 8 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.2424, allocations: 166.3 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2426, allocations: 0.6692 MB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.2427, allocations: 11.94 kB / 0.984 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.2428, allocations: 15.42 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/0.2428, allocations: 3.938 kB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.2633, allocations: 1.362 MB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.2636, allocations: 213.3 kB / 0.9856 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/2.702, allocations: 0 / 0.9856 GB, free: 20.69 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)