Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 102.9 kB / 16.27 MB, free: 5.961 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.001816/0.001816, allocations: 188.7 kB / 17.19 MB, free: 5.59 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7696/0.7696, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3551, allocations: 77.92 MB / 0.5672 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003084/0.3583, allocations: 1.474 MB / 0.5686 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3599, allocations: 1.098 MB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.36, allocations: 1.062 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.3602, allocations: 15.5 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3605, allocations: 41.98 kB / 0.5698 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3607, allocations: 56.55 kB / 0.5698 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.3609, allocations: 155.2 kB / 0.57 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.3611, allocations: 55.78 kB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.3612, allocations: 80.39 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3613, allocations: 50.64 kB / 0.5701 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.3614, allocations: 10.72 kB / 0.5702 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.206e-05/0.3615, allocations: 37.86 kB / 0.5702 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.3616, allocations: 58.91 kB / 0.5702 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.3617, allocations: 71.05 kB / 0.5703 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.362, allocations: 196.6 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.362, allocations: 0 / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.362, allocations: 0 / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.362, allocations: 1.156 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006629/0.3627, allocations: 499.4 kB / 0.571 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3627, allocations: 10.06 kB / 0.571 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.978e-05/0.3628, allocations: 22 kB / 0.571 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.3631, allocations: 255.9 kB / 0.5713 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.3633, allocations: 120.7 kB / 0.5714 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.3633, allocations: 13.95 kB / 0.5714 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.3637, allocations: 159.3 kB / 0.5715 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3637, allocations: 1.375 kB / 0.5715 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3637, allocations: 1.875 kB / 0.5715 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.3637, allocations: 7.594 kB / 0.5715 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.827e-05/0.3638, allocations: 43.73 kB / 0.5716 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.365, allocations: 468 kB / 0.572 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.365, allocations: 37.77 kB / 0.5721 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.3651, allocations: 28.64 kB / 0.5721 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3651, allocations: 12.77 kB / 0.5721 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.3651, allocations: 37.09 kB / 0.5721 GB, free: 29.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3651, allocations: 0 / 0.5721 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002824/0.3654, allocations: 99.05 kB / 0.5722 GB, free: 29.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.3655, allocations: 54.17 kB / 0.5723 GB, free: 29.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.3657, allocations: 218.3 kB / 0.5725 GB, free: 28.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3658, allocations: 31.2 kB / 0.5725 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.3659, allocations: 122.2 kB / 0.5726 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3659, allocations: 29.8 kB / 0.5727 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.3659, allocations: 31.14 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.366, allocations: 329.5 kB / 0.573 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.3661, allocations: 25.42 kB / 0.573 GB, free: 28.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3662, allocations: 99.95 kB / 0.5731 GB, free: 28.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3664, allocations: 141.6 kB / 0.5733 GB, free: 28.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3664, allocations: 0 / 0.5733 GB, free: 28.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002383/0.3666, allocations: 152.5 kB / 0.5734 GB, free: 28.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3667, allocations: 10.91 kB / 0.5734 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3667, allocations: 3.469 kB / 0.5734 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3667, allocations: 3.156 kB / 0.5734 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3668, allocations: 26.69 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3668, allocations: 14.2 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3669, allocations: 4.375 kB / 0.5735 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.3669, allocations: 10.06 kB / 0.5735 GB, free: 28.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001191/0.367, allocations: 148.6 kB / 0.5736 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.3671, allocations: 19.66 kB / 0.5736 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.3673, allocations: 124.1 kB / 0.5738 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3673, allocations: 1.875 kB / 0.5738 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3673, allocations: 3.938 kB / 0.5738 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3673, allocations: 1.734 kB / 0.5738 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.3676, allocations: 227.7 kB / 0.574 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3676, allocations: 1.531 kB / 0.574 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.3676, allocations: 13.31 kB / 0.574 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3677, allocations: 1.484 kB / 0.574 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3677, allocations: 1.984 kB / 0.574 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3677, allocations: 2.188 kB / 0.574 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3677, allocations: 3.938 kB / 0.574 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3679, allocations: 194.7 kB / 0.5742 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.3679, allocations: 93.53 kB / 0.5743 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.3679, allocations: 6.438 kB / 0.5743 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.3682, allocations: 21.19 kB / 0.5743 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3682, allocations: 10.77 kB / 0.5743 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3683, allocations: 13.12 kB / 0.5743 GB, free: 27.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.3684, allocations: 159.8 kB / 0.5745 GB, free: 27.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3684, allocations: 1.938 kB / 0.5745 GB, free: 27.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.3687, allocations: 28.12 kB / 0.5745 GB, free: 27.29 MB / 446.1 MB 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 (8): * Single equations (assignments): 8 * 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.0002424/0.369, allocations: 122 kB / 0.5746 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.3692, allocations: 84.3 kB / 0.5747 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3692, allocations: 1.375 kB / 0.5747 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.3693, allocations: 26.41 kB / 0.5747 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3696, allocations: 16.36 kB / 0.5748 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.3701, allocations: 290.8 kB / 0.575 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3703, allocations: 0.7323 MB / 0.5757 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3705, allocations: 54.89 kB / 0.5758 GB, free: 26.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.3705, allocations: 16.81 kB / 0.5758 GB, free: 26.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3705, allocations: 0 / 0.5758 GB, free: 26.26 MB / 446.1 MB Notification: Performance of Templates: time 0.006776/0.3773, allocations: 2.383 MB / 0.5781 GB, free: 26.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)