Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 170.5 kB / 25.18 MB, free: 8.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.975/1.975, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.871e-05, allocations: 9.688 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002043/0.002072, allocations: 1.498 MB / 0.777 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006515/0.002723, allocations: 490 kB / 0.7774 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.002759, allocations: 0 / 0.7774 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.272e-05/0.002841, allocations: 7.922 kB / 0.7775 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.002904, allocations: 11.88 kB / 0.7775 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.003482, allocations: 227.2 kB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.003667, allocations: 147.8 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.003705, allocations: 8 kB / 0.7778 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.003787, allocations: 75.88 kB / 0.7779 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.003851, allocations: 39.89 kB / 0.7779 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.003875, allocations: 8 kB / 0.778 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005643/0.00444, allocations: 199.7 kB / 0.7781 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.004494, allocations: 43.89 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.004544, allocations: 35.92 kB / 0.7782 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.004797, allocations: 247.3 kB / 0.7785 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.0048, allocations: 0 / 0.7785 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.004801, allocations: 4 kB / 0.7785 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.004805, allocations: 0 / 0.7785 GB, free: 11.58 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003582/0.005163, allocations: 348.2 kB / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.005193, allocations: 8.031 kB / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.005227, allocations: 12.92 kB / 0.7788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.005364, allocations: 145.5 kB / 0.7789 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.005374, allocations: 8.375 kB / 0.779 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.005393, allocations: 12.38 kB / 0.779 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.999e-05/0.005473, allocations: 66.72 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.005479, allocations: 192 / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005487, allocations: 4.375 kB / 0.779 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.005493, allocations: 4.375 kB / 0.779 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.005523, allocations: 25.52 kB / 0.7791 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.005632, allocations: 103.4 kB / 0.7792 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.813e-05/0.00569, allocations: 53.14 kB / 0.7792 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.005715, allocations: 25.8 kB / 0.7792 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-06/0.005721, allocations: 0 / 0.7792 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.005825, allocations: 96.08 kB / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.005826, allocations: 0 / 0.7793 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001383/0.005964, allocations: 91.72 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.006012, allocations: 93.09 kB / 0.7795 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.006083, allocations: 134.6 kB / 0.7796 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.006103, allocations: 33.7 kB / 0.7797 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.006138, allocations: 100.5 kB / 0.7798 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.006172, allocations: 35.69 kB / 0.7798 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.00622, allocations: 49.67 kB / 0.7798 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.086e-05/0.006301, allocations: 334.7 kB / 0.7802 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.00632, allocations: 10.83 kB / 0.7802 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.006525, allocations: 0.5378 MB / 0.7807 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.006594, allocations: 71.14 kB / 0.7808 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006596, allocations: 4 kB / 0.7808 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.585e-05/0.006692, allocations: 95.25 kB / 0.7809 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.006704, allocations: 4 kB / 0.7809 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.006723, allocations: 4 kB / 0.7809 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.006729, allocations: 96 / 0.7809 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.006801, allocations: 27.91 kB / 0.7809 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006806, allocations: 4.094 kB / 0.7809 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.006899, allocations: 39.86 kB / 0.7809 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.006906, allocations: 8 kB / 0.7809 GB, free: 8.668 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.222e-05/0.006988, allocations: 128.6 kB / 0.7811 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.007001, allocations: 11.98 kB / 0.7811 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.007025, allocations: 12.78 kB / 0.7811 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007027, allocations: 0 / 0.7811 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.007029, allocations: 3.938 kB / 0.7811 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.007034, allocations: 7.938 kB / 0.7811 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.541e-05/0.007099, allocations: 77.88 kB / 0.7812 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0071, allocations: 0 / 0.7812 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-05/0.007121, allocations: 15.98 kB / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007123, allocations: 0 / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.007128, allocations: 0 / 0.7812 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007129, allocations: 3.984 kB / 0.7812 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007131, allocations: 4 kB / 0.7812 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/0.007226, allocations: 110.4 kB / 0.7813 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.007237, allocations: 19.78 kB / 0.7813 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.007253, allocations: 8 kB / 0.7813 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.184e-05/0.007275, allocations: 3.984 kB / 0.7813 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.007306, allocations: 8 kB / 0.7813 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.007313, allocations: 11.92 kB / 0.7814 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.322e-05/0.007336, allocations: 32.09 kB / 0.7814 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007336, allocations: 0 / 0.7814 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001859/0.007522, allocations: 75.81 kB / 0.7815 GB, free: 8.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001748/0.007697, allocations: 164.3 kB / 0.7816 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.007829, allocations: 116.2 kB / 0.7817 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.007833, allocations: 0 / 0.7817 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.00786, allocations: 24.8 kB / 0.7817 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.325e-05/0.007933, allocations: 11.98 kB / 0.7818 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.00823, allocations: 240.2 kB / 0.782 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.008298, allocations: 89.11 kB / 0.7821 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.008379, allocations: 75.36 kB / 0.7821 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of SimCode: time 1.292e-06/0.00838, allocations: 0 / 0.7821 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.002939/0.01132, allocations: 2.494 MB / 0.7846 GB, free: 4.805 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.880226991139352]