Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 109.4 kB / 17.03 MB, free: 5.703 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.0009702/0.0009702, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.237/1.237, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 76.14 MB / 0.5576 GB, free: 36.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002639/0.3391, allocations: 1.33 MB / 0.5589 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001447/0.3393, allocations: 44.22 kB / 0.5589 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.3394, allocations: 2.656 kB / 0.5589 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.3395, allocations: 6.406 kB / 0.5589 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3397, allocations: 22.33 kB / 0.5589 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.3397, allocations: 1.156 kB / 0.5589 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.3397, allocations: 13.03 kB / 0.5589 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3398, allocations: 3.281 kB / 0.5589 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.508e-05/0.3398, allocations: 9.125 kB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.3399, allocations: 10.91 kB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3399, allocations: 1.438 kB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.527e-05/0.34, allocations: 8.078 kB / 0.559 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.34, allocations: 8.047 kB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.34, allocations: 10.09 kB / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.298e-05/0.3401, allocations: 22.56 kB / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3402, allocations: 0 / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3402, allocations: 1.219 kB / 0.559 GB, free: 35.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3402, allocations: 0 / 0.559 GB, free: 35.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002802/0.3405, allocations: 330.2 kB / 0.5593 GB, free: 35.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3405, allocations: 9.5 kB / 0.5593 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.3405, allocations: 2.344 kB / 0.5593 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3407, allocations: 179.2 kB / 0.5595 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3407, allocations: 4.359 kB / 0.5595 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.3407, allocations: 2.031 kB / 0.5595 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.101e-05/0.3408, allocations: 38.38 kB / 0.5596 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3408, allocations: 1.531 kB / 0.5596 GB, free: 34.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3408, allocations: 8.562 kB / 0.5596 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3408, allocations: 2.531 kB / 0.5596 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.3409, allocations: 1.344 kB / 0.5596 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.341, allocations: 152.7 kB / 0.5597 GB, free: 34.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.341, allocations: 23.58 kB / 0.5597 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.341, allocations: 10.83 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3411, allocations: 0.875 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3411, allocations: 39.83 kB / 0.5598 GB, free: 34.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3411, allocations: 0 / 0.5598 GB, free: 34.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.3412, allocations: 47.02 kB / 0.5598 GB, free: 34.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.3412, allocations: 51.41 kB / 0.5599 GB, free: 34.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.3413, allocations: 114.8 kB / 0.56 GB, free: 34.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.3413, allocations: 25.7 kB / 0.56 GB, free: 34.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.3414, allocations: 85.27 kB / 0.5601 GB, free: 34.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3414, allocations: 8.734 kB / 0.5601 GB, free: 34.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.3414, allocations: 13.73 kB / 0.5601 GB, free: 34.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.3415, allocations: 319.3 kB / 0.5604 GB, free: 34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.3415, allocations: 2 kB / 0.5604 GB, free: 34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-06/0.3415, allocations: 8.125 kB / 0.5604 GB, free: 34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.3415, allocations: 8.266 kB / 0.5604 GB, free: 33.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3415, allocations: 0 / 0.5604 GB, free: 33.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.876e-05/0.3416, allocations: 39.91 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3416, allocations: 4.812 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3416, allocations: 3.938 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3416, allocations: 3.5 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.31e-05/0.3417, allocations: 1.219 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3417, allocations: 1.188 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.304e-05/0.3417, allocations: 0.9688 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.3417, allocations: 0.7812 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB 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 (1): * Single equations (assignments): 1 * 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.676e-05/0.3418, allocations: 109.7 kB / 0.5606 GB, free: 33.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.3418, allocations: 10.91 kB / 0.5606 GB, free: 33.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.3419, allocations: 47.08 kB / 0.5607 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.3419, allocations: 0.9375 kB / 0.5607 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3419, allocations: 1.5 kB / 0.5607 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3419, allocations: 5.203 kB / 0.5607 GB, free: 33.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.206e-05/0.342, allocations: 151.1 kB / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.342, allocations: 0 / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.342, allocations: 2.781 kB / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.342, allocations: 0 / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.342, allocations: 8.422 kB / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.342, allocations: 0.7188 kB / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.342, allocations: 0 / 0.5608 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.477e-05/0.3421, allocations: 64.19 kB / 0.5609 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.3421, allocations: 80.09 kB / 0.561 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.3421, allocations: 6.531 kB / 0.561 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-06/0.3421, allocations: 4 kB / 0.561 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.3422, allocations: 3.859 kB / 0.561 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3422, allocations: 3.938 kB / 0.561 GB, free: 33.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.3422, allocations: 94.19 kB / 0.5611 GB, free: 33.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 1.781 kB / 0.5611 GB, free: 33.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001775/0.3424, allocations: 7.812 kB / 0.5611 GB, free: 33.33 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 (1): * Single equations (assignments): 1 * 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.0001654/0.3426, allocations: 106.9 kB / 0.5612 GB, free: 33.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.007e-05/0.3426, allocations: 6.938 kB / 0.5612 GB, free: 33.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3426, allocations: 0 / 0.5612 GB, free: 33.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-06/0.3427, allocations: 8.719 kB / 0.5612 GB, free: 33.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.3428, allocations: 5.562 kB / 0.5612 GB, free: 33.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.343, allocations: 104.7 kB / 0.5613 GB, free: 33.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.3431, allocations: 0.6784 MB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.3432, allocations: 7.266 kB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.3432, allocations: 9.969 kB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3432, allocations: 0 / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002407/0.3456, allocations: 474.6 kB / 0.5624 GB, free: 32.38 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)