Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.552/1.552, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0014/0.0014, allocations: 181.5 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008062/0.0008062, allocations: 81.2 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003038, allocations: 13.98 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001129/0.2485, allocations: 1.001 MB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.3895, allocations: 124.8 MB / 1.023 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.898e-05/0.3897, allocations: 0 / 1.023 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.3897, allocations: 0 / 1.023 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.3898, allocations: 11.97 kB / 1.023 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.3902, allocations: 103.7 kB / 1.023 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.3903, allocations: 23.91 kB / 1.023 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.3903, allocations: 0 / 1.023 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.3904, allocations: 4 kB / 1.023 GB, free: 1.535 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.3904, allocations: 4 kB / 1.023 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3904, allocations: 0 / 1.023 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.3908, allocations: 199.6 kB / 1.023 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 7.534e-06/0.3909, allocations: 0 / 1.023 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.3909, allocations: 25.7 kB / 1.023 GB, free: 1.305 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.3911, allocations: 80.14 kB / 1.023 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3911, allocations: 0 / 1.023 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.016e-06/0.3911, allocations: 0 / 1.023 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3911, allocations: 0 / 1.023 GB, free: 1.227 MB / 0.6667 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.0003574/0.3915, allocations: 339.4 kB / 1.024 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3915, allocations: 15.97 kB / 1.024 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.3916, allocations: 30.56 kB / 1.024 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/0.3921, allocations: 43.91 kB / 1.024 GB, free: 0.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3923, allocations: 167 kB / 1.024 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3923, allocations: 0 / 1.024 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3923, allocations: 3.984 kB / 1.024 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.3925, allocations: 45.61 kB / 1.024 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3925, allocations: 4 kB / 1.024 GB, free: 500 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3925, allocations: 4 kB / 1.024 GB, free: 496 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3925, allocations: 0 / 1.024 GB, free: 496 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.3927, allocations: 23.92 kB / 1.024 GB, free: 472 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.393, allocations: 248.8 kB / 1.024 GB, free: 172 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.3931, allocations: 30.58 kB / 1.024 GB, free: 132 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3931, allocations: 0 / 1.024 GB, free: 132 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3932, allocations: 38.48 kB / 1.024 GB, free: 84 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3932, allocations: 0 / 1.024 GB, free: 84 kB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.3933, allocations: 49.7 kB / 1.024 GB, free: 28 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.3934, allocations: 51.41 kB / 1.025 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3935, allocations: 106 kB / 1.025 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3936, allocations: 29.7 kB / 1.025 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.3936, allocations: 88.12 kB / 1.025 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.3937, allocations: 7.906 kB / 1.025 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.3937, allocations: 0 / 1.025 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3938, allocations: 310.8 kB / 1.025 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.3939, allocations: 11.98 kB / 1.025 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.3939, allocations: 15.92 kB / 1.025 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.394, allocations: 12 kB / 1.025 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.394, allocations: 0 / 1.025 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001749/0.3942, allocations: 57.66 kB / 1.025 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3942, allocations: 4 kB / 1.025 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3942, allocations: 4 kB / 1.025 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3943, allocations: 0 / 1.025 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3944, allocations: 7.984 kB / 1.025 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3944, allocations: 7.953 kB / 1.025 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3945, allocations: 11.91 kB / 1.025 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3946, allocations: 3.984 kB / 1.025 GB, free: 15.27 MB / 0.6823 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.983e-05/0.3947, allocations: 113.8 kB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.3947, allocations: 4 kB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.3947, allocations: 3.125 kB / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3947, allocations: 0 / 1.025 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3947, allocations: 7.938 kB / 1.025 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3948, allocations: 3.953 kB / 1.025 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.395, allocations: 157.7 kB / 1.025 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.395, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.395, allocations: 4 kB / 1.025 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.395, allocations: 3.938 kB / 1.025 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.395, allocations: 7.984 kB / 1.025 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.395, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.395, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3951, allocations: 139.5 kB / 1.026 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.3952, allocations: 81.09 kB / 1.026 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3953, allocations: 0 / 1.026 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.3954, allocations: 8 kB / 1.026 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.3954, allocations: 4 kB / 1.026 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3954, allocations: 3.984 kB / 1.026 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.239e-05/0.3955, allocations: 87.27 kB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.823e-06/0.3955, allocations: 4.031 kB / 1.026 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002515/0.3958, allocations: 19.94 kB / 1.026 GB, free: 14.53 MB / 0.6823 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.0005774/0.3963, allocations: 0.685 MB / 1.026 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3965, allocations: 24.02 kB / 1.026 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3965, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.3965, allocations: 11.92 kB / 1.026 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3968, allocations: 4 kB / 1.027 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.3973, allocations: 160.2 kB / 1.027 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3976, allocations: 0.681 MB / 1.027 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.129e-05/0.3977, allocations: 12.53 kB / 1.027 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.3978, allocations: 15.38 kB / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3978, allocations: 0 / 1.027 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.4113, allocations: 1.37 MB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.4117, allocations: 203.9 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.921, allocations: 4 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)