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.001096/0.001096, allocations: 112.4 kB / 17.04 MB, free: 5.809 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.001003/0.001003, allocations: 195 kB / 17.98 MB, free: 5.031 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.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7147/0.7147, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.12 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3363, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002717/0.3391, allocations: 1.467 MB / 0.559 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3405, allocations: 1.108 MB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.62e-05/0.3406, allocations: 1.812 kB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.3408, allocations: 12.94 kB / 0.5601 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.3409, allocations: 45.53 kB / 0.5601 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3411, allocations: 62.78 kB / 0.5602 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3413, allocations: 144.4 kB / 0.5603 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.3415, allocations: 60.41 kB / 0.5604 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3416, allocations: 83.75 kB / 0.5605 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.3418, allocations: 54.84 kB / 0.5605 GB, free: 34.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3418, allocations: 11 kB / 0.5605 GB, free: 34.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.3419, allocations: 25.12 kB / 0.5606 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.342, allocations: 58.38 kB / 0.5606 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.3421, allocations: 75.94 kB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3424, allocations: 201.2 kB / 0.5609 GB, free: 34.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3424, allocations: 0 / 0.5609 GB, free: 34.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3424, allocations: 0.8438 kB / 0.5609 GB, free: 34.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3424, allocations: 2.047 kB / 0.5609 GB, free: 34.51 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.00064/0.3431, allocations: 497.3 kB / 0.5614 GB, free: 34.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3431, allocations: 9.375 kB / 0.5614 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.3432, allocations: 17.38 kB / 0.5614 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3435, allocations: 262.7 kB / 0.5616 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3436, allocations: 116 kB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3436, allocations: 8.938 kB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.344, allocations: 163.8 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.344, allocations: 0.875 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.344, allocations: 1.344 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.3441, allocations: 13.67 kB / 0.5619 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.3441, allocations: 39.77 kB / 0.562 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.3452, allocations: 461.5 kB / 0.5624 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.3453, allocations: 35.56 kB / 0.5624 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.3453, allocations: 26.62 kB / 0.5625 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3454, allocations: 8.031 kB / 0.5625 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3454, allocations: 37.31 kB / 0.5625 GB, free: 33.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3454, allocations: 1.406 kB / 0.5625 GB, free: 33.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002658/0.3457, allocations: 103.6 kB / 0.5626 GB, free: 33.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.3457, allocations: 51.41 kB / 0.5627 GB, free: 33.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3459, allocations: 222.9 kB / 0.5629 GB, free: 32.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.346, allocations: 28.06 kB / 0.5629 GB, free: 32.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.346, allocations: 132.6 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3461, allocations: 22.94 kB / 0.563 GB, free: 32.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.3461, allocations: 31.19 kB / 0.5631 GB, free: 32.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.3462, allocations: 329.4 kB / 0.5634 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.3462, allocations: 24.67 kB / 0.5634 GB, free: 32.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3463, allocations: 106 kB / 0.5635 GB, free: 32.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3465, allocations: 138.8 kB / 0.5636 GB, free: 32.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3465, allocations: 0 / 0.5636 GB, free: 32.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002312/0.3468, allocations: 157.4 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3468, allocations: 7.344 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3468, allocations: 3.188 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3468, allocations: 5.703 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3469, allocations: 25.84 kB / 0.5638 GB, free: 32.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.347, allocations: 9.375 kB / 0.5638 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.989e-05/0.347, allocations: 8.125 kB / 0.5639 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.347, allocations: 9.203 kB / 0.5639 GB, free: 32.12 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.000107/0.3472, allocations: 149.3 kB / 0.564 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.3472, allocations: 15.41 kB / 0.564 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.3474, allocations: 111.9 kB / 0.5641 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3475, allocations: 5.344 kB / 0.5641 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3475, allocations: 4.531 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3475, allocations: 6.062 kB / 0.5641 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.3477, allocations: 236.9 kB / 0.5644 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3477, allocations: 0.75 kB / 0.5644 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.3478, allocations: 12.95 kB / 0.5644 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3478, allocations: 1.781 kB / 0.5644 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3478, allocations: 6.875 kB / 0.5644 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3478, allocations: 1.156 kB / 0.5644 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3478, allocations: 5.281 kB / 0.5644 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.348, allocations: 182.7 kB / 0.5646 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.348, allocations: 93.52 kB / 0.5647 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.348, allocations: 3.078 kB / 0.5647 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3483, allocations: 17.72 kB / 0.5647 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.3483, allocations: 12.62 kB / 0.5647 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.3483, allocations: 15.08 kB / 0.5647 GB, free: 31.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3485, allocations: 157.2 kB / 0.5649 GB, free: 31.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3485, allocations: 3.938 kB / 0.5649 GB, free: 31.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003095/0.3488, allocations: 33.34 kB / 0.5649 GB, free: 31.32 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.0002381/0.349, allocations: 128.9 kB / 0.565 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3492, allocations: 69.91 kB / 0.5651 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3492, allocations: 2.531 kB / 0.5651 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.3493, allocations: 23.64 kB / 0.5651 GB, free: 31.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3496, allocations: 24.59 kB / 0.5651 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.3501, allocations: 293 kB / 0.5654 GB, free: 31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3503, allocations: 0.7308 MB / 0.5661 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3504, allocations: 53.78 kB / 0.5662 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.3504, allocations: 17.41 kB / 0.5662 GB, free: 30.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3504, allocations: 0.6562 kB / 0.5662 GB, free: 30.28 MB / 446.1 MB Notification: Performance of Templates: time 0.005519/0.356, allocations: 2.372 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)