Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001423/0.001423, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001441/0.001441, allocations: 173 kB / 23.49 MB, free: 1.059 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.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7785/0.7785, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5205 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.828e-05, allocations: 7.453 kB / 0.5205 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001888/0.001916, allocations: 1.443 MB / 0.5219 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.00253, allocations: 478.7 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.002567, allocations: 0.9688 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.026e-05/0.002647, allocations: 3.938 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.373e-05/0.002711, allocations: 15.86 kB / 0.5224 GB, free: 392 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.003428, allocations: 249.1 kB / 0.5227 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.003635, allocations: 147.8 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.00368, allocations: 4 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.003769, allocations: 76.8 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.003846, allocations: 40.69 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.003873, allocations: 12 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.004107, allocations: 184.8 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.004166, allocations: 35.91 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.004223, allocations: 39.91 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.004529, allocations: 252.8 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004532, allocations: 0 / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004533, allocations: 0 / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004538, allocations: 0 / 0.5234 GB, free: 15.37 MB / 0.4948 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.0004419/0.00498, allocations: 484.6 kB / 0.5239 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005015, allocations: 8.812 kB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.005073, allocations: 16.89 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.005243, allocations: 155.3 kB / 0.5241 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005255, allocations: 4.375 kB / 0.5241 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.005274, allocations: 12.38 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.005404, allocations: 69.61 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.00541, allocations: 192 / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.00542, allocations: 384 / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.005427, allocations: 384 / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.005473, allocations: 27.86 kB / 0.5242 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.005642, allocations: 176.8 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.005723, allocations: 74.8 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.005767, allocations: 35.58 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.005775, allocations: 4.844 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.005904, allocations: 96.41 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.005905, allocations: 0.9688 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000242/0.006147, allocations: 125.5 kB / 0.5247 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.006197, allocations: 94 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.006311, allocations: 211.7 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.006332, allocations: 37.69 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.006387, allocations: 143.8 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.006426, allocations: 40.22 kB / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.00648, allocations: 56.33 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.006591, allocations: 0.4923 MB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.006627, allocations: 23.98 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.006858, allocations: 0.5924 MB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.528e-05/0.006943, allocations: 79.06 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006945, allocations: 0 / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001438/0.007089, allocations: 121.5 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007103, allocations: 9.203 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.007121, allocations: 4 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.007135, allocations: 8.031 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.00722, allocations: 12.62 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.007226, allocations: 0 / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.007354, allocations: 64.75 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.007363, allocations: 4.781 kB / 0.5266 GB, free: 11.71 MB / 0.4948 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.836e-05/0.007451, allocations: 173.6 kB / 0.5267 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.00747, allocations: 15.91 kB / 0.5268 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.007492, allocations: 12.77 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.007496, allocations: 8.938 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.0075, allocations: 0 / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007503, allocations: 1 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/0.007595, allocations: 152.5 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007596, allocations: 0 / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.007618, allocations: 4.625 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.007622, allocations: 4 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007629, allocations: 0.7188 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00763, allocations: 0 / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.007633, allocations: 8.688 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.007773, allocations: 152 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.007783, allocations: 9.359 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.007802, allocations: 7.984 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.007825, allocations: 0 / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.007864, allocations: 16.55 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.007871, allocations: 4 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.007922, allocations: 141.7 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007922, allocations: 4 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002121/0.008134, allocations: 75.86 kB / 0.5273 GB, free: 10.87 MB / 0.4948 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.000206/0.00834, allocations: 176 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.008505, allocations: 127 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008507, allocations: 0 / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.008545, allocations: 35.61 kB / 0.5277 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.00867, allocations: 16.91 kB / 0.5277 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.008987, allocations: 217 kB / 0.5279 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.825e-05/0.009026, allocations: 67.34 kB / 0.5279 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.009057, allocations: 8.719 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.009082, allocations: 20.5 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.009083, allocations: 0 / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.004264/0.01335, allocations: 2.719 MB / 0.5306 GB, free: 7.609 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8747307560406625]