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.566/2.566, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001536/0.001536, allocations: 177.1 kB / 370.8 MB, free: 10.84 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.222/2.222, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.001125/0.001125, allocations: 92.52 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004881, allocations: 12.16 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001412/0.2196, allocations: 0.9938 MB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.2205, allocations: 0.5171 MB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.2206, allocations: 4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.2206, allocations: 0 / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.2207, allocations: 7.969 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.2211, allocations: 75.75 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.2212, allocations: 19.95 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.2212, allocations: 12 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.2213, allocations: 7.938 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.2213, allocations: 0 / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2213, allocations: 4 kB / 0.9799 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.2217, allocations: 155.7 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.2217, allocations: 3.984 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.2218, allocations: 29.7 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.222, allocations: 60.16 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.222, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.222, allocations: 0 / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.222, allocations: 4 kB / 0.9801 GB, free: 26.35 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.000326/0.2223, allocations: 345.3 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2224, allocations: 12.03 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.2224, allocations: 34.5 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.223, allocations: 31.91 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.2231, allocations: 159.1 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.2232, allocations: 4 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.2232, allocations: 4 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2234, allocations: 45.66 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2234, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2234, allocations: 4 kB / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.2235, allocations: 0 / 0.9807 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2237, allocations: 23.92 kB / 0.9808 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.2238, allocations: 165.6 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.2241, allocations: 42.5 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.2241, allocations: 3.984 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.2241, allocations: 34.62 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.2241, allocations: 0 / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004122/0.2246, allocations: 69.66 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2246, allocations: 55.34 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.723e-05/0.2247, allocations: 101.8 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.2247, allocations: 29.7 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/0.2247, allocations: 84.14 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.2248, allocations: 15.95 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.2248, allocations: 0 / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.2248, allocations: 314.8 kB / 0.9816 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.2249, allocations: 15.98 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.2251, allocations: 7.984 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2252, allocations: 15.98 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2252, allocations: 4.062 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002501/0.2254, allocations: 53.67 kB / 0.9817 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2255, allocations: 8 kB / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2255, allocations: 0 / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2255, allocations: 0 / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2257, allocations: 7.984 kB / 0.9817 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2257, allocations: 3.938 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.2258, allocations: 12.03 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.2258, allocations: 0 / 0.9818 GB, free: 24.46 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.611e-05/0.2259, allocations: 109.8 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2259, allocations: 7.984 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.226, allocations: 7.125 kB / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.226, allocations: 0 / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.226, allocations: 0 / 0.9819 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.226, allocations: 4 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2262, allocations: 161.5 kB / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2262, allocations: 0 / 0.982 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.2263, allocations: 15.92 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2263, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2263, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2263, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2264, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2266, allocations: 93.05 kB / 0.9821 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.2267, allocations: 81.05 kB / 0.9822 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2267, allocations: 11.98 kB / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.2268, allocations: 0 / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.2269, allocations: 0 / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.2269, allocations: 4 kB / 0.9822 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.2269, allocations: 75.28 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2269, allocations: 4.031 kB / 0.9823 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002865/0.2272, allocations: 23.92 kB / 0.9823 GB, free: 23.78 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.0005221/0.2278, allocations: 0.6281 MB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.228, allocations: 31.91 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.228, allocations: 0 / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2282, allocations: 15.98 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.2284, allocations: 4 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.229, allocations: 162.3 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2291, allocations: 0.677 MB / 0.9838 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.2293, allocations: 8 kB / 0.9838 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.2293, allocations: 15.36 kB / 0.9838 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/0.2293, allocations: 4 kB / 0.9838 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.2528, allocations: 1.354 MB / 0.9852 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.2531, allocations: 207.9 kB / 0.9854 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.559, allocations: 2.125 kB / 0.9854 GB, free: 20.73 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)