Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009838, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009881/0.0009882, allocations: 199.5 kB / 16.14 MB, free: 6.656 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.174/1.174, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.7 MB / 0.5088 GB, free: 3.312 MB / 414.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.001234/0.001234, allocations: 63.91 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3711, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002547/0.3736, allocations: 1.561 MB / 0.7253 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3749, allocations: 0.8313 MB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.375, allocations: 0 / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.3751, allocations: 7.922 kB / 0.7261 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.3751, allocations: 11.88 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.3756, allocations: 103.6 kB / 0.7263 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.3757, allocations: 51.78 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3758, allocations: 19.98 kB / 0.7263 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.607e-05/0.3759, allocations: 19.92 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.3759, allocations: 23.91 kB / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.376, allocations: 0 / 0.7264 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.3763, allocations: 175.7 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3763, allocations: 7.938 kB / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.3763, allocations: 23.86 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.3766, allocations: 149.7 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3766, allocations: 0 / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3766, allocations: 0 / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3766, allocations: 0 / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005037/0.3771, allocations: 395.3 kB / 0.7271 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3772, allocations: 12.03 kB / 0.7271 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3772, allocations: 8.828 kB / 0.7271 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.3773, allocations: 180.1 kB / 0.7273 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3773, allocations: 4.375 kB / 0.7273 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3774, allocations: 4.375 kB / 0.7273 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3776, allocations: 70.22 kB / 0.7273 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3776, allocations: 4.172 kB / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3776, allocations: 7.938 kB / 0.7274 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3776, allocations: 0 / 0.7274 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.3779, allocations: 71.92 kB / 0.7274 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.3783, allocations: 280.8 kB / 0.7277 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3784, allocations: 54.53 kB / 0.7277 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.3786, allocations: 40.92 kB / 0.7278 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.3788, allocations: 89.09 kB / 0.7279 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3788, allocations: 38.55 kB / 0.7279 GB, free: 8.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3788, allocations: 3.938 kB / 0.7279 GB, free: 8.742 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005141/0.3793, allocations: 129.5 kB / 0.728 GB, free: 8.609 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.3794, allocations: 55.41 kB / 0.7281 GB, free: 8.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.779e-05/0.3795, allocations: 121.7 kB / 0.7282 GB, free: 8.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3795, allocations: 25.7 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.3796, allocations: 88.14 kB / 0.7283 GB, free: 8.293 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3796, allocations: 11.75 kB / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3796, allocations: 21.72 kB / 0.7283 GB, free: 8.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3797, allocations: 318.8 kB / 0.7286 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3799, allocations: 31.97 kB / 0.7287 GB, free: 7.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.38, allocations: 31.95 kB / 0.7287 GB, free: 7.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.3803, allocations: 76.72 kB / 0.7288 GB, free: 7.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3803, allocations: 0 / 0.7288 GB, free: 7.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002843/0.3806, allocations: 93.91 kB / 0.7289 GB, free: 7.695 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3806, allocations: 4 kB / 0.7289 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3806, allocations: 7.938 kB / 0.7289 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3806, allocations: 4.031 kB / 0.7289 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3807, allocations: 19.98 kB / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3808, allocations: 0 / 0.7289 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.3808, allocations: 15.97 kB / 0.7289 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3809, allocations: 0 / 0.7289 GB, free: 7.645 MB / 0.545 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.988e-05/0.3809, allocations: 113.8 kB / 0.729 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3809, allocations: 7.906 kB / 0.729 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3813, allocations: 113.5 kB / 0.7291 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3813, allocations: 0 / 0.7291 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3813, allocations: 3.938 kB / 0.7291 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3813, allocations: 0 / 0.7291 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3814, allocations: 173.6 kB / 0.7293 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3815, allocations: 0 / 0.7293 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.874e-05/0.3815, allocations: 19.98 kB / 0.7293 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3816, allocations: 0 / 0.7293 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3816, allocations: 4 kB / 0.7293 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3816, allocations: 0 / 0.7293 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3816, allocations: 0 / 0.7293 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.3819, allocations: 207.2 kB / 0.7295 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.3819, allocations: 77.11 kB / 0.7296 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.382, allocations: 4 kB / 0.7296 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3821, allocations: 15.98 kB / 0.7296 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3821, allocations: 7.984 kB / 0.7296 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3821, allocations: 0 / 0.7296 GB, free: 6.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.3822, allocations: 91.7 kB / 0.7297 GB, free: 6.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3822, allocations: 0 / 0.7297 GB, free: 6.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002408/0.3824, allocations: 31.94 kB / 0.7298 GB, free: 6.688 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.0001644/0.3826, allocations: 139.2 kB / 0.7299 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.3829, allocations: 67.92 kB / 0.73 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3829, allocations: 0 / 0.73 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.383, allocations: 35.91 kB / 0.73 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.3833, allocations: 19.92 kB / 0.73 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3836, allocations: 152.8 kB / 0.7301 GB, free: 6.246 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.3838, allocations: 0.6848 MB / 0.7308 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.3838, allocations: 8 kB / 0.7308 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.3839, allocations: 11.44 kB / 0.7308 GB, free: 5.516 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.3839, allocations: 0 / 0.7308 GB, free: 5.516 MB / 0.545 GB Notification: Performance of Templates: time 0.002994/0.3869, allocations: 1.229 MB / 0.732 GB, free: 4.297 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)