Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.SetPoints.Examples.OccupancySchedule.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003873/0.003872, allocations: 353.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.424/1.424, allocations: 165.8 MB / 182.5 MB, free: 5.332 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.976/3.976, allocations: 410.8 MB / 0.5995 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001686/0.001685, allocations: 189.8 kB / 0.6662 GB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 12 kB / 0.7423 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3883, allocations: 67.43 MB / 0.8081 GB, free: 28.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.OccupancySchedule): time 0.001913/0.3903, allocations: 1.121 MB / 0.8092 GB, free: 27.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3916, allocations: 444 kB / 0.8097 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.3917, allocations: 0 / 0.8097 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.3918, allocations: 11.92 kB / 0.8097 GB, free: 27.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.3919, allocations: 3.938 kB / 0.8097 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3931, allocations: 189.6 kB / 0.8099 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.3934, allocations: 123.8 kB / 0.81 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.918e-05/0.3935, allocations: 7.922 kB / 0.81 GB, free: 26.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.3936, allocations: 51.91 kB / 0.81 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.3938, allocations: 43.83 kB / 0.8101 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.3939, allocations: 4 kB / 0.8101 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.3944, allocations: 147.8 kB / 0.8102 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.3945, allocations: 31.91 kB / 0.8103 GB, free: 26.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.3946, allocations: 49.62 kB / 0.8103 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.395, allocations: 153.9 kB / 0.8104 GB, free: 26.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.395, allocations: 0 / 0.8104 GB, free: 26.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.048e-06/0.395, allocations: 0 / 0.8104 GB, free: 26.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.395, allocations: 7.938 kB / 0.8105 GB, free: 26.46 MB / 378.7 MB 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.0006615/0.3957, allocations: 430.9 kB / 0.8109 GB, free: 25.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3958, allocations: 12.03 kB / 0.8109 GB, free: 25.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/0.3959, allocations: 15.81 kB / 0.8109 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3962, allocations: 195 kB / 0.8111 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.3963, allocations: 4 kB / 0.8111 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.3963, allocations: 19.98 kB / 0.8111 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.3966, allocations: 83.28 kB / 0.8112 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3966, allocations: 0 / 0.8112 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3967, allocations: 11.92 kB / 0.8112 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.225e-06/0.3967, allocations: 4 kB / 0.8112 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3968, allocations: 31.98 kB / 0.8112 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.3972, allocations: 230.5 kB / 0.8114 GB, free: 25.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3974, allocations: 81.19 kB / 0.8115 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.3976, allocations: 53.81 kB / 0.8116 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3976, allocations: 4 kB / 0.8116 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.398, allocations: 114.6 kB / 0.8117 GB, free: 25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.935e-06/0.398, allocations: 0 / 0.8117 GB, free: 25 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006904/0.3987, allocations: 193.4 kB / 0.8119 GB, free: 24.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.3988, allocations: 85.11 kB / 0.812 GB, free: 24.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.399, allocations: 150.6 kB / 0.8121 GB, free: 24.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.399, allocations: 41.7 kB / 0.8121 GB, free: 24.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3991, allocations: 100.5 kB / 0.8122 GB, free: 24.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3992, allocations: 35.55 kB / 0.8123 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.3992, allocations: 4 kB / 0.8123 GB, free: 24.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3993, allocations: 326.8 kB / 0.8126 GB, free: 24.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3994, allocations: 40.17 kB / 0.8126 GB, free: 23.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.3997, allocations: 195.8 kB / 0.8128 GB, free: 23.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.3999, allocations: 66.09 kB / 0.8129 GB, free: 23.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-06/0.3999, allocations: 0 / 0.8129 GB, free: 23.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003464/0.4002, allocations: 169.3 kB / 0.813 GB, free: 23.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4003, allocations: 6.656 kB / 0.813 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.4003, allocations: 4 kB / 0.813 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4003, allocations: 0 / 0.813 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.4004, allocations: 15.92 kB / 0.8131 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.499e-06/0.4005, allocations: 0 / 0.8131 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.4009, allocations: 87.91 kB / 0.8131 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4009, allocations: 4 kB / 0.8131 GB, free: 23.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.401, allocations: 129.8 kB / 0.8133 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.401, allocations: 19.77 kB / 0.8133 GB, free: 23.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.4011, allocations: 12.72 kB / 0.8133 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-06/0.4011, allocations: 4 kB / 0.8133 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4011, allocations: 0 / 0.8133 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-06/0.4011, allocations: 4.031 kB / 0.8133 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.4013, allocations: 193.6 kB / 0.8135 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.936e-06/0.4013, allocations: 3.984 kB / 0.8135 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.4014, allocations: 11.94 kB / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.377e-06/0.4014, allocations: 0 / 0.8135 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4014, allocations: 7.953 kB / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.781e-06/0.4014, allocations: 7.984 kB / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-06/0.4014, allocations: 0 / 0.8135 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.4017, allocations: 177.7 kB / 0.8137 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.4017, allocations: 89.02 kB / 0.8138 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.4018, allocations: 8 kB / 0.8138 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.4019, allocations: 7.953 kB / 0.8138 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.4019, allocations: 3.984 kB / 0.8138 GB, free: 22.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4019, allocations: 4 kB / 0.8138 GB, free: 22.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.402, allocations: 119 kB / 0.8139 GB, free: 22.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.84e-07/0.402, allocations: 0 / 0.8139 GB, free: 22.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004236/0.4025, allocations: 75.92 kB / 0.814 GB, free: 22.43 MB / 378.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002452/0.4027, allocations: 164.6 kB / 0.8141 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.403, allocations: 163.3 kB / 0.8143 GB, free: 22.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.803e-06/0.403, allocations: 0 / 0.8143 GB, free: 22.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.4031, allocations: 47.92 kB / 0.8143 GB, free: 22.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.4034, allocations: 4 kB / 0.8143 GB, free: 22.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.4038, allocations: 242.5 kB / 0.8146 GB, free: 21.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.404, allocations: 0.7121 MB / 0.8153 GB, free: 21.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.404, allocations: 4.672 kB / 0.8153 GB, free: 21.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.4041, allocations: 19.42 kB / 0.8153 GB, free: 21.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4041, allocations: 0 / 0.8153 GB, free: 21.01 MB / 378.7 MB Notification: Performance of Templates: time 0.006007/0.4101, allocations: 2.324 MB / 0.8176 GB, free: 18.71 MB / 378.7 MB