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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 102.2 kB / 16.36 MB, free: 6.43 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.000985/0.0009851, allocations: 193.7 kB / 17.3 MB, free: 5.801 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001516/0.001516, allocations: 79.17 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2506, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002434/0.2531, allocations: 1.271 MB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5671/0.8202, allocations: 147.6 MB / 0.9302 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.8203, allocations: 0 / 0.9302 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.8204, allocations: 3.938 kB / 0.9302 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-05/0.8204, allocations: 9.734 kB / 0.9302 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.8209, allocations: 113.4 kB / 0.9303 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.821, allocations: 24.3 kB / 0.9304 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.821, allocations: 8 kB / 0.9304 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.8211, allocations: 5.188 kB / 0.9304 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.734e-05/0.8211, allocations: 6.5 kB / 0.9304 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.8211, allocations: 1.344 kB / 0.9304 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.8216, allocations: 176 kB / 0.9305 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.8216, allocations: 5.328 kB / 0.9306 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.8216, allocations: 12.27 kB / 0.9306 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.8219, allocations: 106.6 kB / 0.9307 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.8219, allocations: 0 / 0.9307 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8219, allocations: 0 / 0.9307 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8219, allocations: 1.375 kB / 0.9307 GB, free: 4.559 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.0003256/0.8222, allocations: 357.2 kB / 0.931 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.8223, allocations: 9.625 kB / 0.931 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.8229, allocations: 36.33 kB / 0.9311 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.823, allocations: 162 kB / 0.9312 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.823, allocations: 9.312 kB / 0.9312 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.823, allocations: 5.531 kB / 0.9312 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.8232, allocations: 44.56 kB / 0.9313 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.8232, allocations: 0 / 0.9313 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.8232, allocations: 1.406 kB / 0.9313 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-06/0.8232, allocations: 0 / 0.9313 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.8233, allocations: 23.08 kB / 0.9313 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.8237, allocations: 254.5 kB / 0.9315 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.8237, allocations: 23.8 kB / 0.9316 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.8238, allocations: 11.23 kB / 0.9316 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.8238, allocations: 1.375 kB / 0.9316 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.8238, allocations: 33.62 kB / 0.9316 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.8238, allocations: 1.281 kB / 0.9316 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001459/0.824, allocations: 58.59 kB / 0.9317 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.824, allocations: 52.66 kB / 0.9317 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.8241, allocations: 106.8 kB / 0.9318 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.8242, allocations: 30.98 kB / 0.9318 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.8242, allocations: 88.06 kB / 0.9319 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.8242, allocations: 9.266 kB / 0.9319 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.8243, allocations: 18.77 kB / 0.9319 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.8244, allocations: 322.8 kB / 0.9323 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.8244, allocations: 10.36 kB / 0.9323 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.8245, allocations: 10.52 kB / 0.9323 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.8246, allocations: 17.77 kB / 0.9323 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8246, allocations: 4.938 kB / 0.9323 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001901/0.8248, allocations: 64.25 kB / 0.9324 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.8248, allocations: 5.5 kB / 0.9324 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8248, allocations: 0 / 0.9324 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8249, allocations: 0 / 0.9324 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.825, allocations: 12.03 kB / 0.9324 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.825, allocations: 0 / 0.9324 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.8251, allocations: 7.984 kB / 0.9324 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.8252, allocations: 15.92 kB / 0.9324 GB, free: 2.727 MB / 0.7169 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 8.415e-05/0.8253, allocations: 109.8 kB / 0.9325 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.8253, allocations: 3.906 kB / 0.9325 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.8253, allocations: 7.125 kB / 0.9325 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.8253, allocations: 0 / 0.9325 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8253, allocations: 0.5625 kB / 0.9325 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.8253, allocations: 0 / 0.9325 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.8255, allocations: 157.6 kB / 0.9327 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8255, allocations: 0 / 0.9327 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.8255, allocations: 11.92 kB / 0.9327 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8255, allocations: 4 kB / 0.9327 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8256, allocations: 1.969 kB / 0.9327 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8256, allocations: 0 / 0.9327 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8256, allocations: 0 / 0.9327 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.8257, allocations: 138.9 kB / 0.9328 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.8257, allocations: 81.09 kB / 0.9329 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8258, allocations: 0 / 0.9329 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8259, allocations: 7.969 kB / 0.9329 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.8259, allocations: 4 kB / 0.9329 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.8259, allocations: 0 / 0.9329 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.814e-05/0.826, allocations: 95.2 kB / 0.933 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.826, allocations: 0 / 0.933 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002515/0.8263, allocations: 16 kB / 0.933 GB, free: 2.016 MB / 0.7169 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.0001788/0.8264, allocations: 115.2 kB / 0.9331 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.8266, allocations: 19.92 kB / 0.9331 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8266, allocations: 0 / 0.9331 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.8266, allocations: 7.984 kB / 0.9331 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.827, allocations: 8.781 kB / 0.9332 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.8273, allocations: 121.2 kB / 0.9333 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.8275, allocations: 0.6859 MB / 0.9339 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.8276, allocations: 9.594 kB / 0.9339 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.8276, allocations: 7.438 kB / 0.934 GB, free: 1 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8276, allocations: 0 / 0.934 GB, free: 1 MB / 0.7169 GB Notification: Performance of Templates: time 0.00299/0.8306, allocations: 0.7421 MB / 0.9347 GB, free: 304 kB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)