Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001193/0.001192, allocations: 184.8 kB / 371.6 MB, free: 3.363 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.033/2.033, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.00105, allocations: 89.06 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.345e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2958, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9994/1.295, allocations: 140.3 MB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.296, allocations: 76.69 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007754/1.303, allocations: 1.944 MB / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.815e-06/1.303, allocations: 0 / 1.119 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.303, allocations: 0 / 1.119 GB, free: 42.41 MB / 0.7448 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.0004332/1.304, allocations: 361.1 kB / 1.119 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/1.304, allocations: 12.03 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/1.304, allocations: 34.56 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004353/1.304, allocations: 26.2 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/1.305, allocations: 163.8 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/1.305, allocations: 3.828 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/1.305, allocations: 0 / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/1.305, allocations: 52.28 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.305, allocations: 3.938 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.305, allocations: 8 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.305, allocations: 0 / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/1.305, allocations: 22.88 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/1.306, allocations: 267.7 kB / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.306, allocations: 37.64 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/1.306, allocations: 23.86 kB / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/1.306, allocations: 0 / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.306, allocations: 38.02 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/1.306, allocations: 0 / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002308/1.306, allocations: 52.72 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/1.306, allocations: 54.8 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/1.306, allocations: 97.14 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.306, allocations: 29.78 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/1.306, allocations: 88.17 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/1.306, allocations: 4.688 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/1.306, allocations: 3.125 kB / 1.12 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/1.306, allocations: 310.8 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/1.306, allocations: 11.12 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/1.306, allocations: 11.73 kB / 1.12 GB, free: 40.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/1.307, allocations: 11 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.307, allocations: 0 / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001351/1.307, allocations: 61.34 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.307, allocations: 4 kB / 1.121 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.307, allocations: 4 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.307, allocations: 2.531 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/1.307, allocations: 14.66 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.307, allocations: 0.5625 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1.307, allocations: 15.55 kB / 1.121 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/1.307, allocations: 7.953 kB / 1.121 GB, free: 40.57 MB / 0.7448 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 () * 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 5.892e-05/1.307, allocations: 104 kB / 1.121 GB, free: 40.47 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/1.307, allocations: 3.906 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/1.307, allocations: 10.92 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.307, allocations: 0 / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.307, allocations: 0 / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.307, allocations: 0 / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/1.307, allocations: 170.9 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.308, allocations: 4.75 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/1.308, allocations: 18.78 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.308, allocations: 0 / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/1.308, allocations: 2.938 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.308, allocations: 6.844 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.308, allocations: 4.219 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/1.308, allocations: 155 kB / 1.121 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/1.308, allocations: 80.62 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/1.308, allocations: 0 / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/1.308, allocations: 11.47 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/1.308, allocations: 0 / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/1.308, allocations: 5 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.427e-05/1.308, allocations: 87.61 kB / 1.121 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.308, allocations: 4.031 kB / 1.121 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003483/1.309, allocations: 16 kB / 1.121 GB, free: 39.88 MB / 0.7448 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 () * 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.000515/1.309, allocations: 0.6977 MB / 1.122 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001459/1.309, allocations: 30.67 kB / 1.122 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.309, allocations: 0 / 1.122 GB, free: 39.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-05/1.309, allocations: 18.75 kB / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/1.31, allocations: 0 / 1.122 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/1.31, allocations: 125 kB / 1.122 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/1.31, allocations: 0.6765 MB / 1.123 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001308/1.311, allocations: 14.56 kB / 1.123 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/1.311, allocations: 10.95 kB / 1.123 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/1.311, allocations: 0 / 1.123 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/1.331, allocations: 1.382 MB / 1.124 GB, free: 37.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/1.332, allocations: 164.8 kB / 1.124 GB, free: 37.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/3.063, allocations: 2.391 kB / 1.124 GB, free: 37.35 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)