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.002533/0.002538, allocations: 356 kB / 16.58 MB, free: 5.57 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.454/1.454, allocations: 165.8 MB / 183.1 MB, free: 5.453 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.956/3.956, allocations: 410.7 MB / 0.6001 GB, free: 15.18 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.002359/0.002359, allocations: 206.8 kB / 0.6668 GB, free: 6.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004833, allocations: 19.92 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4175, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.5861, allocations: 98.65 MB / 0.9051 GB, free: 10.01 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5865, allocations: 83.95 kB / 0.9051 GB, free: 9.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.6048, allocations: 3.924 MB / 0.909 GB, free: 5.996 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.23e-06/0.6049, allocations: 4 kB / 0.909 GB, free: 5.992 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.6049, allocations: 0 / 0.909 GB, free: 5.992 MB / 458.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.0007418/0.6056, allocations: 446.8 kB / 0.9094 GB, free: 5.508 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.6057, allocations: 8.031 kB / 0.9094 GB, free: 5.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.382e-05/0.6058, allocations: 15.84 kB / 0.9094 GB, free: 5.484 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.6062, allocations: 212.9 kB / 0.9096 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.6062, allocations: 8 kB / 0.9096 GB, free: 5.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.6063, allocations: 15.95 kB / 0.9096 GB, free: 5.215 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.6065, allocations: 83.38 kB / 0.9097 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6066, allocations: 8 kB / 0.9097 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.6066, allocations: 0 / 0.9097 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6066, allocations: 0 / 0.9097 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.6068, allocations: 43.91 kB / 0.9098 GB, free: 5.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.6071, allocations: 250.4 kB / 0.91 GB, free: 4.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.6073, allocations: 81.17 kB / 0.9101 GB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.6075, allocations: 57.81 kB / 0.9101 GB, free: 4.613 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.6075, allocations: 7.984 kB / 0.9102 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.6078, allocations: 109 kB / 0.9103 GB, free: 4.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.6078, allocations: 0 / 0.9103 GB, free: 4.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006152/0.6084, allocations: 205.8 kB / 0.9105 GB, free: 4.273 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.6085, allocations: 89.09 kB / 0.9105 GB, free: 4.168 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.6087, allocations: 153.7 kB / 0.9107 GB, free: 4.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/0.6088, allocations: 37.64 kB / 0.9107 GB, free: 3.965 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.6089, allocations: 104.6 kB / 0.9108 GB, free: 3.859 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.609, allocations: 39.53 kB / 0.9109 GB, free: 3.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.609, allocations: 0 / 0.9109 GB, free: 3.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6092, allocations: 326.8 kB / 0.9112 GB, free: 3.492 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.6093, allocations: 44.16 kB / 0.9112 GB, free: 3.445 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/0.6097, allocations: 217.6 kB / 0.9114 GB, free: 3.176 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.6099, allocations: 67.81 kB / 0.9115 GB, free: 3.109 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6099, allocations: 0 / 0.9115 GB, free: 3.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004707/0.6104, allocations: 173.3 kB / 0.9116 GB, free: 2.934 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6105, allocations: 4 kB / 0.9117 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/0.6105, allocations: 4 kB / 0.9117 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.6105, allocations: 4 kB / 0.9117 GB, free: 2.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.6107, allocations: 11.98 kB / 0.9117 GB, free: 2.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.6107, allocations: 8.094 kB / 0.9117 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.6112, allocations: 79.91 kB / 0.9118 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.6113, allocations: 11.98 kB / 0.9118 GB, free: 2.812 MB / 458.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.000211/0.6115, allocations: 137.9 kB / 0.9119 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.6116, allocations: 11.81 kB / 0.9119 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.6116, allocations: 12.72 kB / 0.9119 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.6116, allocations: 8 kB / 0.9119 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.6117, allocations: 4 kB / 0.9119 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6117, allocations: 3.938 kB / 0.9119 GB, free: 2.629 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.6119, allocations: 201.5 kB / 0.9121 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6119, allocations: 7.953 kB / 0.9121 GB, free: 2.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.612, allocations: 4 kB / 0.9121 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.612, allocations: 0 / 0.9121 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.612, allocations: 7.938 kB / 0.9121 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6121, allocations: 3.938 kB / 0.9122 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6121, allocations: 0 / 0.9122 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.6125, allocations: 191.7 kB / 0.9123 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.6126, allocations: 96.86 kB / 0.9124 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.6126, allocations: 4 kB / 0.9124 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.6127, allocations: 4 kB / 0.9124 GB, free: 2.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.6128, allocations: 7.984 kB / 0.9124 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.6128, allocations: 8 kB / 0.9125 GB, free: 2.016 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.6129, allocations: 111.2 kB / 0.9126 GB, free: 1.906 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6129, allocations: 0 / 0.9126 GB, free: 1.906 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004887/0.6134, allocations: 91.86 kB / 0.9126 GB, free: 1.816 MB / 458.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.000373/0.6138, allocations: 167.1 kB / 0.9128 GB, free: 1.645 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.6142, allocations: 167.3 kB / 0.913 GB, free: 1.469 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6142, allocations: 3.938 kB / 0.913 GB, free: 1.465 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.6143, allocations: 35.98 kB / 0.913 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.6146, allocations: 15.05 kB / 0.913 GB, free: 1.418 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.6152, allocations: 246.5 kB / 0.9133 GB, free: 1.145 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.6155, allocations: 0.7121 MB / 0.9139 GB, free: 416 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.747e-05/0.6156, allocations: 8.672 kB / 0.914 GB, free: 400 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.6156, allocations: 15.44 kB / 0.914 GB, free: 388 kB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6156, allocations: 0 / 0.914 GB, free: 388 kB / 458.7 MB Notification: Performance of Templates: time 0.00769/0.6233, allocations: 2.318 MB / 0.9162 GB, free: 14.09 MB / 474.7 MB