Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001287/0.001287, allocations: 186.9 kB / 16.25 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.035/3.035, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001875, allocations: 65.5 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3282, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002486/0.3308, allocations: 1.346 MB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.4849, allocations: 145.5 MB / 1.211 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.485, allocations: 4 kB / 1.211 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.4851, allocations: 3.938 kB / 1.211 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.477e-05/0.4851, allocations: 7.922 kB / 1.211 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.4859, allocations: 103.6 kB / 1.211 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.486, allocations: 23.86 kB / 1.211 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.922e-05/0.4861, allocations: 0 / 1.211 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.4861, allocations: 7.938 kB / 1.211 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.4862, allocations: 4 kB / 1.211 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4862, allocations: 4 kB / 1.211 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005596/0.4868, allocations: 183.6 kB / 1.211 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.4868, allocations: 7.969 kB / 1.211 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.4868, allocations: 7.938 kB / 1.211 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.4871, allocations: 104 kB / 1.212 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4871, allocations: 4 kB / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4871, allocations: 0 / 1.212 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4871, allocations: 0 / 1.212 GB, free: 6.91 MB / 0.9669 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.0004014/0.4875, allocations: 347.4 kB / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4876, allocations: 16.03 kB / 1.212 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006812/0.4883, allocations: 36.89 kB / 1.212 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4884, allocations: 164.3 kB / 1.212 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4885, allocations: 3.938 kB / 1.212 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4885, allocations: 7.938 kB / 1.212 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.4887, allocations: 49.66 kB / 1.212 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4887, allocations: 0 / 1.212 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4887, allocations: 0 / 1.212 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4887, allocations: 3.938 kB / 1.212 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4889, allocations: 23.97 kB / 1.212 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.4893, allocations: 244.9 kB / 1.212 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.4893, allocations: 34.52 kB / 1.212 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.4894, allocations: 4.922 kB / 1.212 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.4894, allocations: 7.984 kB / 1.212 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4894, allocations: 34.56 kB / 1.212 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4894, allocations: 0 / 1.212 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.4896, allocations: 37.7 kB / 1.213 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4896, allocations: 59.53 kB / 1.213 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4898, allocations: 113.8 kB / 1.213 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4898, allocations: 25.7 kB / 1.213 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.4899, allocations: 91.97 kB / 1.213 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.4899, allocations: 11.89 kB / 1.213 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.4899, allocations: 21.7 kB / 1.213 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.49, allocations: 314.8 kB / 1.213 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.4901, allocations: 11.98 kB / 1.213 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.4902, allocations: 11.98 kB / 1.213 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.4903, allocations: 24.78 kB / 1.213 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4903, allocations: 0 / 1.213 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/0.4905, allocations: 57.67 kB / 1.213 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4905, allocations: 4 kB / 1.213 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4905, allocations: 4 kB / 1.213 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4905, allocations: 0 / 1.213 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4906, allocations: 15.92 kB / 1.213 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4907, allocations: 0 / 1.213 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.4908, allocations: 11.92 kB / 1.213 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4908, allocations: 4 kB / 1.213 GB, free: 4.922 MB / 0.9669 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.004e-05/0.4909, allocations: 109.8 kB / 1.213 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.491, allocations: 4 kB / 1.213 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.491, allocations: 7.125 kB / 1.213 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.491, allocations: 0 / 1.213 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.491, allocations: 0 / 1.213 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.491, allocations: 7.922 kB / 1.213 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.4912, allocations: 157.6 kB / 1.214 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4912, allocations: 0 / 1.214 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.4912, allocations: 7.938 kB / 1.214 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4912, allocations: 0 / 1.214 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4912, allocations: 0 / 1.214 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4913, allocations: 4 kB / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4913, allocations: 0 / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.4914, allocations: 139.4 kB / 1.214 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.4914, allocations: 81.09 kB / 1.214 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.4914, allocations: 0 / 1.214 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4916, allocations: 4 kB / 1.214 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.4916, allocations: 4 kB / 1.214 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.4916, allocations: 7.969 kB / 1.214 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001016/0.4917, allocations: 87.27 kB / 1.214 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4917, allocations: 0 / 1.214 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002599/0.492, allocations: 27.92 kB / 1.214 GB, free: 4.191 MB / 0.9669 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.0001757/0.4922, allocations: 103.2 kB / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.4923, allocations: 27.97 kB / 1.214 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4923, allocations: 0 / 1.214 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.4923, allocations: 11.94 kB / 1.214 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4927, allocations: 11.94 kB / 1.214 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.493, allocations: 111.3 kB / 1.214 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4932, allocations: 0.6806 MB / 1.215 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.586e-05/0.4933, allocations: 12.61 kB / 1.215 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.4933, allocations: 15.42 kB / 1.215 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.4933, allocations: 0 / 1.215 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.003112/0.4964, allocations: 0.7252 MB / 1.216 GB, free: 2.445 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)