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.499/2.499, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001621/0.00162, allocations: 173.1 kB / 370.8 MB, free: 10.88 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.231/2.231, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001174/0.001174, allocations: 90.89 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.0004738, allocations: 13.39 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001459/0.2209, allocations: 0.9883 MB / 0.9793 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8558/1.077, allocations: 124.8 MB / 1.101 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.882e-05/1.077, allocations: 1.438 kB / 1.101 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/1.077, allocations: 0 / 1.101 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/1.077, allocations: 6.078 kB / 1.101 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/1.077, allocations: 107.7 kB / 1.101 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.277e-05/1.077, allocations: 15.77 kB / 1.101 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/1.077, allocations: 5.469 kB / 1.101 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/1.078, allocations: 6.969 kB / 1.101 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.229e-05/1.078, allocations: 7.812 kB / 1.101 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/1.078, allocations: 0 / 1.101 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005655/1.078, allocations: 185.6 kB / 1.101 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/1.078, allocations: 5.062 kB / 1.101 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/1.078, allocations: 28.83 kB / 1.102 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/1.078, allocations: 79 kB / 1.102 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/1.078, allocations: 1.375 kB / 1.102 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/1.078, allocations: 4 kB / 1.102 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.438e-06/1.079, allocations: 0 / 1.102 GB, free: 1.949 MB / 0.6823 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.0004055/1.079, allocations: 346.9 kB / 1.102 GB, free: 17.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.079, allocations: 14.45 kB / 1.102 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/1.079, allocations: 37.08 kB / 1.102 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007672/1.08, allocations: 44.39 kB / 1.102 GB, free: 17.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1.08, allocations: 164.5 kB / 1.102 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/1.08, allocations: 0 / 1.102 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.08, allocations: 1.375 kB / 1.102 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/1.08, allocations: 47.94 kB / 1.102 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.08, allocations: 0 / 1.102 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.08, allocations: 0 / 1.102 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/1.08, allocations: 5.312 kB / 1.102 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/1.08, allocations: 28.27 kB / 1.102 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/1.081, allocations: 250 kB / 1.102 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/1.081, allocations: 21.94 kB / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/1.081, allocations: 5.359 kB / 1.103 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.081, allocations: 33.25 kB / 1.103 GB, free: 16.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.294e-06/1.081, allocations: 5.375 kB / 1.103 GB, free: 16.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001689/1.081, allocations: 49.58 kB / 1.103 GB, free: 16.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.081, allocations: 51.41 kB / 1.103 GB, free: 16.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/1.081, allocations: 109.4 kB / 1.103 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/1.082, allocations: 25.7 kB / 1.103 GB, free: 16.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/1.082, allocations: 91.42 kB / 1.103 GB, free: 16.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-06/1.082, allocations: 5.281 kB / 1.103 GB, free: 16.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.082, allocations: 0 / 1.103 GB, free: 16.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.082, allocations: 322.8 kB / 1.103 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/1.082, allocations: 9.25 kB / 1.103 GB, free: 16.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.539e-05/1.082, allocations: 11.22 kB / 1.103 GB, free: 16.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.082, allocations: 9.594 kB / 1.103 GB, free: 16.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-06/1.082, allocations: 1.734 kB / 1.103 GB, free: 16.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002978/1.082, allocations: 60.16 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.082, allocations: 7.359 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.083, allocations: 2.438 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.083, allocations: 1.375 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.083, allocations: 14.88 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.083, allocations: 5.328 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/1.083, allocations: 7.375 kB / 1.103 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.083, allocations: 3.938 kB / 1.103 GB, free: 16.27 MB / 0.698 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 (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 9.81e-05/1.083, allocations: 111.2 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/1.083, allocations: 1.375 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/1.083, allocations: 8.125 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.083, allocations: 0.6562 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.083, allocations: 1.375 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.083, allocations: 3.953 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/1.083, allocations: 152.7 kB / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.083, allocations: 2.672 kB / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/1.083, allocations: 2.75 kB / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.084, allocations: 4 kB / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/1.084, allocations: 3.344 kB / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.084, allocations: 0 / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.084, allocations: 0 / 1.104 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/1.084, allocations: 139.1 kB / 1.104 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/1.084, allocations: 87.48 kB / 1.104 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/1.084, allocations: 6.188 kB / 1.104 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/1.084, allocations: 7.562 kB / 1.104 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/1.084, allocations: 1.375 kB / 1.104 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.084, allocations: 1.375 kB / 1.104 GB, free: 15.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001443/1.084, allocations: 88.62 kB / 1.104 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.084, allocations: 0 / 1.104 GB, free: 15.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003369/1.085, allocations: 19.38 kB / 1.104 GB, free: 15.63 MB / 0.698 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.0005649/1.085, allocations: 0.6803 MB / 1.105 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001921/1.085, allocations: 23.86 kB / 1.105 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.085, allocations: 0 / 1.105 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/1.085, allocations: 7.562 kB / 1.105 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/1.086, allocations: 11.69 kB / 1.105 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/1.086, allocations: 166.4 kB / 1.105 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/1.087, allocations: 0.68 MB / 1.105 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001223/1.087, allocations: 14.77 kB / 1.105 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/1.087, allocations: 8.812 kB / 1.105 GB, free: 14.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.893e-06/1.087, allocations: 0 / 1.105 GB, free: 14.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/1.107, allocations: 1.37 MB / 1.107 GB, free: 13.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.107, allocations: 197.1 kB / 1.107 GB, free: 13.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.473, allocations: 0 / 1.107 GB, free: 13.7 MB / 0.698 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)