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.0009549/0.0009551, allocations: 111.2 kB / 17.03 MB, free: 5.77 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.0009251/0.0009251, allocations: 195 kB / 17.98 MB, free: 5.008 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.273/1.273, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6943/0.6943, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3416, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00233/0.344, allocations: 1.463 MB / 0.559 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3451, allocations: 1.106 MB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.3452, allocations: 1.156 kB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.3453, allocations: 18.78 kB / 0.5601 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.3455, allocations: 42.97 kB / 0.5601 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.3457, allocations: 64.06 kB / 0.5602 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.3459, allocations: 145 kB / 0.5603 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.346, allocations: 60.55 kB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.3461, allocations: 79.59 kB / 0.5605 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3463, allocations: 59.62 kB / 0.5605 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.3463, allocations: 10.41 kB / 0.5605 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.811e-05/0.3464, allocations: 30.81 kB / 0.5606 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.3464, allocations: 52.62 kB / 0.5606 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.3465, allocations: 76.94 kB / 0.5607 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3468, allocations: 195.7 kB / 0.5609 GB, free: 34.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3468, allocations: 1.344 kB / 0.5609 GB, free: 34.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3468, allocations: 0.7188 kB / 0.5609 GB, free: 34.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3468, allocations: 0.875 kB / 0.5609 GB, free: 34.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.0005915/0.3474, allocations: 498.8 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3474, allocations: 9.844 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.3475, allocations: 18.94 kB / 0.5614 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.3478, allocations: 263.2 kB / 0.5616 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.3479, allocations: 126.4 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3479, allocations: 4.438 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.3482, allocations: 158.5 kB / 0.5619 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3483, allocations: 3.938 kB / 0.5619 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3483, allocations: 13.06 kB / 0.5619 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.3483, allocations: 9.344 kB / 0.5619 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.3484, allocations: 38.73 kB / 0.562 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008998/0.3493, allocations: 458.1 kB / 0.5624 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.908e-05/0.3494, allocations: 32.36 kB / 0.5624 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.3494, allocations: 28.97 kB / 0.5625 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3494, allocations: 8 kB / 0.5625 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.3495, allocations: 31.38 kB / 0.5625 GB, free: 33.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3495, allocations: 0.5625 kB / 0.5625 GB, free: 33.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002392/0.3497, allocations: 117 kB / 0.5626 GB, free: 33.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3497, allocations: 53.31 kB / 0.5627 GB, free: 33.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.3499, allocations: 222.6 kB / 0.5629 GB, free: 32.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.35, allocations: 29.64 kB / 0.5629 GB, free: 32.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.35, allocations: 128.1 kB / 0.563 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.35, allocations: 24.72 kB / 0.5631 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.3501, allocations: 27.02 kB / 0.5631 GB, free: 32.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.3501, allocations: 330.3 kB / 0.5634 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.3502, allocations: 24.42 kB / 0.5634 GB, free: 32.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.3503, allocations: 102.5 kB / 0.5635 GB, free: 32.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3504, allocations: 142.2 kB / 0.5637 GB, free: 32.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3504, allocations: 1.438 kB / 0.5637 GB, free: 32.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002142/0.3506, allocations: 152.7 kB / 0.5638 GB, free: 32.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3507, allocations: 6.234 kB / 0.5638 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3507, allocations: 3.312 kB / 0.5638 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3507, allocations: 4.719 kB / 0.5638 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.3508, allocations: 25.45 kB / 0.5638 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3508, allocations: 10.39 kB / 0.5639 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.3509, allocations: 8.047 kB / 0.5639 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3509, allocations: 11.09 kB / 0.5639 GB, free: 32.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 9.672e-05/0.351, allocations: 147.2 kB / 0.564 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.351, allocations: 15.77 kB / 0.564 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.3512, allocations: 115.3 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3513, allocations: 1.594 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3513, allocations: 5.25 kB / 0.5641 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3513, allocations: 0 / 0.5641 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.3515, allocations: 237.8 kB / 0.5644 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3515, allocations: 0 / 0.5644 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.3515, allocations: 15.23 kB / 0.5644 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3515, allocations: 5.094 kB / 0.5644 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3516, allocations: 5.828 kB / 0.5644 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3516, allocations: 1.125 kB / 0.5644 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3516, allocations: 4.469 kB / 0.5644 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3517, allocations: 183.1 kB / 0.5646 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.3518, allocations: 94.05 kB / 0.5647 GB, free: 31.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3518, allocations: 5.156 kB / 0.5647 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.352, allocations: 18.27 kB / 0.5647 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.3521, allocations: 13.86 kB / 0.5647 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3521, allocations: 12.64 kB / 0.5647 GB, free: 31.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.3522, allocations: 160.1 kB / 0.5649 GB, free: 31.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3522, allocations: 1.062 kB / 0.5649 GB, free: 31.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.3525, allocations: 31.84 kB / 0.5649 GB, free: 31.3 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.0001987/0.3527, allocations: 124.3 kB / 0.565 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3529, allocations: 70.09 kB / 0.5651 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3529, allocations: 1.219 kB / 0.5651 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.3529, allocations: 27.7 kB / 0.5651 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3532, allocations: 20.09 kB / 0.5651 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.3537, allocations: 294.1 kB / 0.5654 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.3539, allocations: 0.7322 MB / 0.5661 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.354, allocations: 53.95 kB / 0.5662 GB, free: 30.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.354, allocations: 18.06 kB / 0.5662 GB, free: 30.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.354, allocations: 0 / 0.5662 GB, free: 30.27 MB / 446.1 MB Notification: Performance of Templates: time 0.005754/0.3598, allocations: 2.374 MB / 0.5685 GB, free: 30.11 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)