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.001579/0.001579, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 200 kB / 16.64 MB, free: 6.43 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.423/1.423, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.682/1.682, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001444/0.001444, allocations: 70.75 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2427, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002627/0.2454, allocations: 1.279 MB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6654/0.9108, allocations: 147.6 MB / 0.9291 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.9109, allocations: 2.625 kB / 0.9291 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.911, allocations: 4 kB / 0.9291 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.9111, allocations: 7.453 kB / 0.9291 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.9115, allocations: 115 kB / 0.9292 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.9116, allocations: 24.05 kB / 0.9292 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.9117, allocations: 3.375 kB / 0.9292 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.84e-05/0.9117, allocations: 9.891 kB / 0.9292 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.9118, allocations: 5.672 kB / 0.9292 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.9118, allocations: 4 kB / 0.9292 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.9122, allocations: 172.1 kB / 0.9294 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.9122, allocations: 5.266 kB / 0.9294 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.9123, allocations: 11.48 kB / 0.9294 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.9125, allocations: 111.9 kB / 0.9295 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9125, allocations: 0 / 0.9295 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9125, allocations: 0 / 0.9295 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.9126, allocations: 3.938 kB / 0.9295 GB, free: 3.125 MB / 0.7169 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.0005077/0.9131, allocations: 351.5 kB / 0.9299 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.9131, allocations: 6.781 kB / 0.9299 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.9132, allocations: 35.55 kB / 0.9299 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005303/0.9137, allocations: 38.09 kB / 0.9299 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.9138, allocations: 164.5 kB / 0.9301 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.9138, allocations: 3.938 kB / 0.9301 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9139, allocations: 13.12 kB / 0.9301 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.914, allocations: 45.97 kB / 0.9302 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9141, allocations: 2.625 kB / 0.9302 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.9141, allocations: 1.203 kB / 0.9302 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9141, allocations: 0 / 0.9302 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.9142, allocations: 24.19 kB / 0.9302 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.9146, allocations: 248.7 kB / 0.9304 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/0.9146, allocations: 28.95 kB / 0.9304 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.9147, allocations: 8.141 kB / 0.9305 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.9147, allocations: 2.625 kB / 0.9305 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.9147, allocations: 31.27 kB / 0.9305 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9147, allocations: 0 / 0.9305 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.9149, allocations: 45.14 kB / 0.9305 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.9149, allocations: 56.33 kB / 0.9306 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.915, allocations: 113.6 kB / 0.9307 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.9151, allocations: 25.7 kB / 0.9307 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.9151, allocations: 88.64 kB / 0.9308 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/0.9151, allocations: 7.234 kB / 0.9308 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.9152, allocations: 20.88 kB / 0.9308 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9153, allocations: 318.7 kB / 0.9311 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.07e-05/0.9154, allocations: 12.2 kB / 0.9311 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.9154, allocations: 16.02 kB / 0.9312 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.9155, allocations: 21.95 kB / 0.9312 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9155, allocations: 0.7969 kB / 0.9312 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001781/0.9157, allocations: 60.5 kB / 0.9312 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.9157, allocations: 11.05 kB / 0.9312 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9157, allocations: 0 / 0.9312 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.9157, allocations: 0 / 0.9312 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.9158, allocations: 11.16 kB / 0.9313 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.9158, allocations: 0.9844 kB / 0.9313 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.916, allocations: 11.02 kB / 0.9313 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.916, allocations: 1.922 kB / 0.9313 GB, free: 17.42 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 7.212e-05/0.9161, allocations: 113.1 kB / 0.9314 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.9161, allocations: 1.219 kB / 0.9314 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.9161, allocations: 9.625 kB / 0.9314 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9161, allocations: 1.531 kB / 0.9314 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9161, allocations: 0.5625 kB / 0.9314 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9162, allocations: 4.688 kB / 0.9314 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.9163, allocations: 154.9 kB / 0.9315 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.9163, allocations: 1.938 kB / 0.9315 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.9163, allocations: 7.266 kB / 0.9316 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9163, allocations: 3.938 kB / 0.9316 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.9164, allocations: 0 / 0.9316 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9164, allocations: 4.844 kB / 0.9316 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.9164, allocations: 2.625 kB / 0.9316 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.076e-05/0.9165, allocations: 137.3 kB / 0.9317 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.9165, allocations: 82.2 kB / 0.9318 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.9165, allocations: 1.594 kB / 0.9318 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.9166, allocations: 2.625 kB / 0.9318 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.9166, allocations: 5.625 kB / 0.9318 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.9167, allocations: 3.938 kB / 0.9318 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.9167, allocations: 89.91 kB / 0.9319 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9168, allocations: 1.344 kB / 0.9319 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002326/0.917, allocations: 14.12 kB / 0.9319 GB, free: 16.78 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.0003984/0.9174, allocations: 0.6895 MB / 0.9326 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.9175, allocations: 15.77 kB / 0.9326 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9175, allocations: 1.094 kB / 0.9326 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.9176, allocations: 5.953 kB / 0.9326 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.9179, allocations: 23.67 kB / 0.9326 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.9183, allocations: 160.1 kB / 0.9328 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.9186, allocations: 0.677 MB / 0.9334 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.036e-05/0.9186, allocations: 7.375 kB / 0.9334 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.9187, allocations: 8.656 kB / 0.9334 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of SimCode: time 1.442e-06/0.9187, allocations: 2.625 kB / 0.9334 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.9383, allocations: 1.591 MB / 0.935 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.968, allocations: 10.22 kB / 0.935 GB, free: 14.86 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)