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.0009695/0.0009696, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006235/0.006235, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.209/1.209, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.515/1.515, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004476/0.0004476, allocations: 18.66 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001031/0.1704, allocations: 1.017 MB / 0.789 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4478/0.6182, allocations: 143.8 MB / 0.9294 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.6183, allocations: 0 / 0.9294 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.34e-05/0.6183, allocations: 0.75 kB / 0.9294 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.6183, allocations: 11.5 kB / 0.9294 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.6186, allocations: 94.11 kB / 0.9295 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.691e-05/0.6187, allocations: 17.77 kB / 0.9295 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.155e-05/0.6187, allocations: 7.922 kB / 0.9295 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.6188, allocations: 5.891 kB / 0.9295 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.896e-05/0.6188, allocations: 9.656 kB / 0.9296 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.6188, allocations: 0 / 0.9296 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.6192, allocations: 185.2 kB / 0.9297 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.6192, allocations: 3.5 kB / 0.9297 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.6193, allocations: 32.17 kB / 0.9298 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.6194, allocations: 107.9 kB / 0.9299 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.6195, allocations: 3.562 kB / 0.9299 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6195, allocations: 10.56 kB / 0.9299 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.6195, allocations: 1.031 kB / 0.9299 GB, free: 17.84 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.0002295/0.6197, allocations: 345.4 kB / 0.9302 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.6197, allocations: 8.625 kB / 0.9302 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.6198, allocations: 34.44 kB / 0.9303 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.6202, allocations: 38.53 kB / 0.9303 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.03e-05/0.6203, allocations: 167.3 kB / 0.9304 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.6204, allocations: 3.938 kB / 0.9305 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.6204, allocations: 2.781 kB / 0.9305 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6205, allocations: 47.03 kB / 0.9305 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.6205, allocations: 0 / 0.9305 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.6205, allocations: 2.938 kB / 0.9305 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.6205, allocations: 3.938 kB / 0.9305 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.6207, allocations: 23.67 kB / 0.9305 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.6209, allocations: 251.9 kB / 0.9308 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.604e-05/0.621, allocations: 20.05 kB / 0.9308 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.621, allocations: 14.5 kB / 0.9308 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-06/0.621, allocations: 0 / 0.9308 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.621, allocations: 41.36 kB / 0.9308 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.621, allocations: 0 / 0.9308 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.6212, allocations: 41.58 kB / 0.9309 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.6212, allocations: 56.19 kB / 0.9309 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.6213, allocations: 105.8 kB / 0.931 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.6213, allocations: 25.7 kB / 0.9311 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.6214, allocations: 96.8 kB / 0.9312 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.6214, allocations: 10.75 kB / 0.9312 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.6214, allocations: 12.19 kB / 0.9312 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.6215, allocations: 318.5 kB / 0.9315 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.6215, allocations: 8.734 kB / 0.9315 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.6216, allocations: 9.812 kB / 0.9315 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.6217, allocations: 20.88 kB / 0.9315 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6217, allocations: 4 kB / 0.9315 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001672/0.6218, allocations: 59.98 kB / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6219, allocations: 5.969 kB / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.6219, allocations: 0 / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.6219, allocations: 0.6562 kB / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.622, allocations: 9.453 kB / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.622, allocations: 0.7031 kB / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.6221, allocations: 15.72 kB / 0.9316 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.6221, allocations: 3.188 kB / 0.9316 GB, free: 16.14 MB / 0.7325 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 5.619e-05/0.6222, allocations: 110.7 kB / 0.9317 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.6222, allocations: 3.5 kB / 0.9317 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426e-05/0.6223, allocations: 3.828 kB / 0.9317 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6223, allocations: 0 / 0.9317 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6223, allocations: 3.312 kB / 0.9317 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.6223, allocations: 3.938 kB / 0.9317 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.6224, allocations: 153.2 kB / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6224, allocations: 4 kB / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.6224, allocations: 9.047 kB / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.6224, allocations: 0 / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.6224, allocations: 2.625 kB / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6224, allocations: 3.172 kB / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6224, allocations: 0 / 0.9319 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.633e-05/0.6225, allocations: 141.4 kB / 0.932 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.6226, allocations: 89.75 kB / 0.9321 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.6226, allocations: 1.5 kB / 0.9321 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.6227, allocations: 2.844 kB / 0.9321 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-06/0.6227, allocations: 1.031 kB / 0.9321 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.6227, allocations: 6.844 kB / 0.9321 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.58e-05/0.6228, allocations: 89.33 kB / 0.9322 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6228, allocations: 0 / 0.9322 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000221/0.623, allocations: 15.73 kB / 0.9322 GB, free: 15.5 MB / 0.7325 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.0003104/0.6233, allocations: 0.6894 MB / 0.9329 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.6234, allocations: 18.41 kB / 0.9329 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6235, allocations: 0 / 0.9329 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.6235, allocations: 10.34 kB / 0.9329 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.6237, allocations: 15.62 kB / 0.9329 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.6241, allocations: 164.4 kB / 0.9331 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.6242, allocations: 0.6753 MB / 0.9338 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.761e-05/0.6243, allocations: 12.98 kB / 0.9338 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.6243, allocations: 16.36 kB / 0.9338 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.6243, allocations: 0 / 0.9338 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.889/2.514, allocations: 1.382 MB / 0.9351 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/2.514, allocations: 216 kB / 0.9353 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/4.086, allocations: 3.5 kB / 0.9353 GB, free: 13.54 MB / 0.7325 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)