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.001557/0.001557, allocations: 99.98 kB / 16.26 MB, free: 5.934 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.001704/0.001704, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8389/0.8389, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3349, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002392/0.3374, allocations: 1.336 MB / 0.5685 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.3375, allocations: 39.22 kB / 0.5685 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.3376, allocations: 0 / 0.5685 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.3377, allocations: 12.11 kB / 0.5685 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3379, allocations: 13.19 kB / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.3379, allocations: 0 / 0.5686 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.3379, allocations: 17.36 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.338, allocations: 6.734 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.338, allocations: 8.234 kB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.3381, allocations: 10.34 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3381, allocations: 1.5 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-05/0.3381, allocations: 11.3 kB / 0.5686 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.3382, allocations: 6.391 kB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.3382, allocations: 7.719 kB / 0.5686 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.468e-05/0.3383, allocations: 28.8 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3383, allocations: 1.531 kB / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3383, allocations: 0 / 0.5686 GB, free: 31.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3383, allocations: 0.9375 kB / 0.5686 GB, free: 31.7 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.0002425/0.3386, allocations: 329.4 kB / 0.569 GB, free: 31.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3386, allocations: 10.47 kB / 0.569 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.3387, allocations: 7.297 kB / 0.569 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3388, allocations: 172.8 kB / 0.5691 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.3388, allocations: 5.219 kB / 0.5691 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.3388, allocations: 384 / 0.5691 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.3389, allocations: 32.8 kB / 0.5692 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3389, allocations: 0.8438 kB / 0.5692 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.3389, allocations: 5.594 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.3389, allocations: 1.062 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.339, allocations: 6.156 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.3391, allocations: 158.6 kB / 0.5693 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.089e-05/0.3391, allocations: 21.61 kB / 0.5694 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.3391, allocations: 11.66 kB / 0.5694 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3392, allocations: 0.6562 kB / 0.5694 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.3392, allocations: 33.7 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3392, allocations: 0 / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.3393, allocations: 47.55 kB / 0.5695 GB, free: 30.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.3393, allocations: 53.42 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.3394, allocations: 114.5 kB / 0.5696 GB, free: 30.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.3394, allocations: 26.33 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.3395, allocations: 86.36 kB / 0.5697 GB, free: 30.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.3395, allocations: 6.594 kB / 0.5697 GB, free: 30.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.3395, allocations: 11.39 kB / 0.5697 GB, free: 30.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.3396, allocations: 314.8 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.3396, allocations: 2.344 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-06/0.3396, allocations: 2.453 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.3396, allocations: 13.91 kB / 0.5701 GB, free: 30.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3396, allocations: 0 / 0.5701 GB, free: 30.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.161e-05/0.3397, allocations: 41.06 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3397, allocations: 5.391 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3397, allocations: 4.844 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3398, allocations: 2.5 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.3398, allocations: 2.156 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3398, allocations: 1.266 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.3398, allocations: 5.031 kB / 0.5701 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3398, allocations: 0 / 0.5701 GB, free: 30.1 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 4.496e-05/0.3399, allocations: 110.6 kB / 0.5702 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.3399, allocations: 2.062 kB / 0.5702 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.762e-05/0.34, allocations: 50.45 kB / 0.5703 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.34, allocations: 8.766 kB / 0.5703 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.34, allocations: 1.125 kB / 0.5703 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.34, allocations: 0.6562 kB / 0.5703 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.037e-05/0.3401, allocations: 159.1 kB / 0.5704 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3401, allocations: 1.031 kB / 0.5704 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.3401, allocations: 5.375 kB / 0.5704 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3401, allocations: 1.656 kB / 0.5704 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3401, allocations: 5.078 kB / 0.5704 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3401, allocations: 1.719 kB / 0.5704 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3401, allocations: 1 kB / 0.5704 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.69e-05/0.3402, allocations: 61.34 kB / 0.5705 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.3402, allocations: 82.83 kB / 0.5706 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3402, allocations: 4.828 kB / 0.5706 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.02e-05/0.3403, allocations: 0.5 kB / 0.5706 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3403, allocations: 7.469 kB / 0.5706 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3403, allocations: 1.281 kB / 0.5706 GB, free: 29.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.866e-05/0.3403, allocations: 90.19 kB / 0.5707 GB, free: 29.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3403, allocations: 0.6562 kB / 0.5707 GB, free: 29.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000215/0.3406, allocations: 9.891 kB / 0.5707 GB, free: 29.48 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.0001569/0.3407, allocations: 108.8 kB / 0.5708 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.3408, allocations: 10.61 kB / 0.5708 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3408, allocations: 1 kB / 0.5708 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.787e-06/0.3408, allocations: 3.375 kB / 0.5708 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.341, allocations: 2.75 kB / 0.5708 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.3412, allocations: 109.5 kB / 0.5709 GB, free: 29.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.3413, allocations: 0.678 MB / 0.5716 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.847e-05/0.3414, allocations: 3.953 kB / 0.5716 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.3414, allocations: 10.19 kB / 0.5716 GB, free: 28.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3414, allocations: 0.5 kB / 0.5716 GB, free: 28.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002335/0.3437, allocations: 480.5 kB / 0.5721 GB, free: 28.52 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)