Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 195.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222 MB, free: 5.027 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.19 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002425/0.2354, allocations: 1.352 MB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5387/0.7742, allocations: 145.3 MB / 0.926 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.7743, allocations: 0 / 0.926 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.7744, allocations: 5.031 kB / 0.926 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.7744, allocations: 6.5 kB / 0.9261 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.7748, allocations: 95.05 kB / 0.9261 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.7749, allocations: 23.25 kB / 0.9262 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.7749, allocations: 0.9375 kB / 0.9262 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.775, allocations: 7.188 kB / 0.9262 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.775, allocations: 9.484 kB / 0.9262 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.775, allocations: 1 kB / 0.9262 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.7754, allocations: 183 kB / 0.9264 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.7754, allocations: 5.5 kB / 0.9264 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.7755, allocations: 9.875 kB / 0.9264 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.7757, allocations: 111 kB / 0.9265 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7757, allocations: 0 / 0.9265 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7757, allocations: 3.938 kB / 0.9265 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7757, allocations: 0.9688 kB / 0.9265 GB, free: 6.055 MB / 0.7325 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.0005898/0.7763, allocations: 353 kB / 0.9268 GB, free: 21.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.7764, allocations: 9.312 kB / 0.9268 GB, free: 21.69 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.7764, allocations: 36.59 kB / 0.9269 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.777, allocations: 33.59 kB / 0.9269 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7771, allocations: 170.2 kB / 0.9271 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.7771, allocations: 5.156 kB / 0.9271 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.7771, allocations: 1.406 kB / 0.9271 GB, free: 21.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.7773, allocations: 53.91 kB / 0.9271 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7773, allocations: 0 / 0.9271 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7773, allocations: 1.062 kB / 0.9271 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7774, allocations: 0 / 0.9271 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.7775, allocations: 21.66 kB / 0.9271 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.7779, allocations: 250.5 kB / 0.9274 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.778, allocations: 26.86 kB / 0.9274 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.778, allocations: 12.64 kB / 0.9274 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.778, allocations: 0 / 0.9274 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.778, allocations: 34.5 kB / 0.9274 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.778, allocations: 0 / 0.9274 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0001858/0.7782, allocations: 46.92 kB / 0.9275 GB, free: 21.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.7783, allocations: 56.41 kB / 0.9275 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.7785, allocations: 108.8 kB / 0.9277 GB, free: 20.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.7785, allocations: 26.55 kB / 0.9277 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.7786, allocations: 92.55 kB / 0.9278 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.7786, allocations: 4.719 kB / 0.9278 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.7786, allocations: 17.38 kB / 0.9278 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7788, allocations: 322.2 kB / 0.9281 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.7789, allocations: 13.44 kB / 0.9281 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.779, allocations: 10.08 kB / 0.9281 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.61e-05/0.7791, allocations: 20.86 kB / 0.9281 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7791, allocations: 0 / 0.9281 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002082/0.7794, allocations: 64.53 kB / 0.9282 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.7794, allocations: 11.44 kB / 0.9282 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7794, allocations: 2.156 kB / 0.9282 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7794, allocations: 0 / 0.9282 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.7796, allocations: 9.906 kB / 0.9282 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.7796, allocations: 0 / 0.9282 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7797, allocations: 12.81 kB / 0.9282 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.7798, allocations: 1.156 kB / 0.9282 GB, free: 20.37 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.619e-05/0.7799, allocations: 112.5 kB / 0.9283 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.7799, allocations: 6.797 kB / 0.9283 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.7799, allocations: 11.56 kB / 0.9284 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7799, allocations: 4.672 kB / 0.9284 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.78, allocations: 1.203 kB / 0.9284 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.78, allocations: 3.938 kB / 0.9284 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.7802, allocations: 152.4 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7802, allocations: 1.156 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.7802, allocations: 4.969 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.7802, allocations: 2.531 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7802, allocations: 0.625 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7802, allocations: 4 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7802, allocations: 0.5312 kB / 0.9285 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.7804, allocations: 136.3 kB / 0.9287 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.7804, allocations: 78.08 kB / 0.9287 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.7805, allocations: 2.125 kB / 0.9287 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.7806, allocations: 5.281 kB / 0.9287 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.7806, allocations: 7.938 kB / 0.9287 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.7806, allocations: 5 kB / 0.9287 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001086/0.7807, allocations: 88.81 kB / 0.9288 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7807, allocations: 0.9688 kB / 0.9288 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002907/0.781, allocations: 14.66 kB / 0.9288 GB, free: 19.73 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006249/0.7817, allocations: 0.6781 MB / 0.9295 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.7818, allocations: 27.62 kB / 0.9295 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7819, allocations: 1.094 kB / 0.9295 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.7819, allocations: 4.531 kB / 0.9295 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.7823, allocations: 15.12 kB / 0.9296 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005355/0.7828, allocations: 164.8 kB / 0.9297 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.7832, allocations: 0.6777 MB / 0.9304 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.05e-05/0.7833, allocations: 10.69 kB / 0.9304 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.7834, allocations: 11.73 kB / 0.9304 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.7834, allocations: 0.9375 kB / 0.9304 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01073/0.7941, allocations: 1.435 MB / 0.9318 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.7944, allocations: 226.3 kB / 0.932 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.43, allocations: 0 / 0.932 GB, free: 17.72 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)