Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.X_pSatpphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.575/2.575, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001432/0.001432, allocations: 184.8 kB / 360.6 MB, free: 7.285 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.1/2.1, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001121/0.00112, allocations: 89.97 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.778e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8798, allocations: 115.3 MB / 0.9634 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.086/6.966, allocations: 2.054 GB / 3.018 GB, free: 64.49 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/6.966, allocations: 88.61 kB / 3.018 GB, free: 64.44 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09401/7.06, allocations: 26.5 MB / 3.044 GB, free: 42.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.443e-06/7.06, allocations: 0 / 3.044 GB, free: 42.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.114e-06/7.06, allocations: 0 / 3.044 GB, free: 42.05 MB / 0.948 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.000298/7.061, allocations: 358.4 kB / 3.044 GB, free: 41.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/7.061, allocations: 8.031 kB / 3.044 GB, free: 41.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/7.061, allocations: 39.81 kB / 3.044 GB, free: 41.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/7.061, allocations: 163.1 kB / 3.044 GB, free: 41.41 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/7.062, allocations: 4 kB / 3.044 GB, free: 41.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/7.062, allocations: 0 / 3.044 GB, free: 41.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.281e-05/7.062, allocations: 13.2 kB / 3.044 GB, free: 41.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/7.062, allocations: 41.67 kB / 3.044 GB, free: 41.35 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/7.062, allocations: 0 / 3.044 GB, free: 41.35 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/7.062, allocations: 7.781 kB / 3.044 GB, free: 41.34 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/7.062, allocations: 0 / 3.044 GB, free: 41.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/7.062, allocations: 225.5 kB / 3.045 GB, free: 41.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.273e-05/7.062, allocations: 26.64 kB / 3.045 GB, free: 41.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/7.062, allocations: 8.859 kB / 3.045 GB, free: 41.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/7.062, allocations: 4 kB / 3.045 GB, free: 41.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/7.062, allocations: 30.56 kB / 3.045 GB, free: 41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 2.344e-06/7.062, allocations: 3.984 kB / 3.045 GB, free: 40.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/7.063, allocations: 41.64 kB / 3.045 GB, free: 40.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/7.063, allocations: 59.44 kB / 3.045 GB, free: 40.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/7.063, allocations: 98.62 kB / 3.045 GB, free: 40.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/7.063, allocations: 25.7 kB / 3.045 GB, free: 40.74 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/7.063, allocations: 88.05 kB / 3.045 GB, free: 40.65 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/7.063, allocations: 7.922 kB / 3.045 GB, free: 40.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/7.063, allocations: 0 / 3.045 GB, free: 40.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/7.063, allocations: 310.8 kB / 3.045 GB, free: 40.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/7.063, allocations: 8 kB / 3.045 GB, free: 40.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.493e-05/7.063, allocations: 4 kB / 3.045 GB, free: 40.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/7.063, allocations: 11.98 kB / 3.045 GB, free: 40.31 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/7.063, allocations: 0 / 3.045 GB, free: 40.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001364/7.063, allocations: 49.59 kB / 3.045 GB, free: 40.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/7.063, allocations: 7.984 kB / 3.045 GB, free: 40.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/7.063, allocations: 6.656 kB / 3.045 GB, free: 40.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/7.063, allocations: 0 / 3.045 GB, free: 40.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/7.063, allocations: 9.984 kB / 3.045 GB, free: 40.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/7.063, allocations: 3.953 kB / 3.045 GB, free: 40.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/7.064, allocations: 12 kB / 3.045 GB, free: 40.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/7.064, allocations: 3.984 kB / 3.045 GB, free: 40.21 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.64e-05/7.064, allocations: 112.5 kB / 3.045 GB, free: 40.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.506e-05/7.064, allocations: 33.7 kB / 3.045 GB, free: 40.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/7.064, allocations: 4 kB / 3.045 GB, free: 40.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/7.064, allocations: 7.75 kB / 3.045 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/7.064, allocations: 3.953 kB / 3.046 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.064, allocations: 0 / 3.046 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/7.064, allocations: 0 / 3.046 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/7.064, allocations: 138.2 kB / 3.046 GB, free: 39.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/7.064, allocations: 0 / 3.046 GB, free: 39.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/7.064, allocations: 7.984 kB / 3.046 GB, free: 39.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/7.064, allocations: 0 / 3.046 GB, free: 39.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/7.064, allocations: 0 / 3.046 GB, free: 39.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/7.064, allocations: 2.188 kB / 3.046 GB, free: 39.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/7.064, allocations: 0 / 3.046 GB, free: 39.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/7.064, allocations: 139.4 kB / 3.046 GB, free: 39.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/7.064, allocations: 89.12 kB / 3.046 GB, free: 39.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/7.064, allocations: 0 / 3.046 GB, free: 39.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/7.064, allocations: 0 / 3.046 GB, free: 39.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/7.064, allocations: 7.984 kB / 3.046 GB, free: 39.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/7.064, allocations: 0 / 3.046 GB, free: 39.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.403e-05/7.065, allocations: 87.23 kB / 3.046 GB, free: 39.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/7.065, allocations: 0 / 3.046 GB, free: 39.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004421/7.065, allocations: 43.98 kB / 3.046 GB, free: 39.47 MB / 0.948 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.001112/7.066, allocations: 1.222 MB / 3.047 GB, free: 38.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001244/7.066, allocations: 11.94 kB / 3.047 GB, free: 38.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.066, allocations: 0 / 3.047 GB, free: 38.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.529e-05/7.066, allocations: 8 kB / 3.047 GB, free: 38.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/7.067, allocations: 11.98 kB / 3.047 GB, free: 38.21 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/7.067, allocations: 90.09 kB / 3.047 GB, free: 38.08 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/7.067, allocations: 0.6807 MB / 3.048 GB, free: 37.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001233/7.067, allocations: 9.234 kB / 3.048 GB, free: 37.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/7.067, allocations: 15.42 kB / 3.048 GB, free: 37.35 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/7.067, allocations: 3.938 kB / 3.048 GB, free: 37.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/7.113, allocations: 5.486 MB / 3.053 GB, free: 31.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/7.113, allocations: 153.8 kB / 3.053 GB, free: 31.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/9.732, allocations: 0 / 3.053 GB, free: 31.71 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)