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.001243/0.001243, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001434/0.001434, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.91/0.91, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.754/0.754, allocations: 154.9 MB / 415.1 MB, free: 256 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.383e-06/1.383e-06, allocations: 0 / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.404e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.005095/0.005119, allocations: 1.444 MB / 0.5225 GB, free: 136 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000743/0.005862, allocations: 472.5 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.005903, allocations: 0 / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/0.005964, allocations: 11.88 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.006015, allocations: 4.766 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.006665, allocations: 255 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.006842, allocations: 147.7 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.006873, allocations: 4 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.006962, allocations: 71.95 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.007025, allocations: 35.88 kB / 0.5235 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.007051, allocations: 12 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.00734, allocations: 191.7 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.007385, allocations: 28.42 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.71e-05/0.007433, allocations: 44.62 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.007646, allocations: 243.4 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.007647, allocations: 4.75 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007648, allocations: 0 / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.007651, allocations: 0.9688 kB / 0.524 GB, free: 14.64 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.0003068/0.007958, allocations: 487.8 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.354e-05/0.007982, allocations: 9 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.008009, allocations: 12.89 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.008117, allocations: 154.1 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.008125, allocations: 5.062 kB / 0.5246 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.00814, allocations: 17.34 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.54e-05/0.008205, allocations: 65.55 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.00821, allocations: 192 / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-06/0.008215, allocations: 0.875 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.008218, allocations: 1.406 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.448e-05/0.008242, allocations: 23.92 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.008347, allocations: 148.8 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.008401, allocations: 79.44 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.008431, allocations: 35.44 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.008436, allocations: 4.625 kB / 0.525 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.57e-05/0.008521, allocations: 104.4 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 6.41e-07/0.008522, allocations: 1.594 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000144/0.008666, allocations: 117.8 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.008694, allocations: 85.05 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.008769, allocations: 206.8 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.008786, allocations: 38.67 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.008834, allocations: 147.2 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.008861, allocations: 36.66 kB / 0.5257 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.008908, allocations: 59.33 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.009013, allocations: 0.5 MB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.00903, allocations: 13.17 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.009206, allocations: 0.5891 MB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.009259, allocations: 63.28 kB / 0.5269 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.00926, allocations: 0.8125 kB / 0.5269 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.277e-05/0.009353, allocations: 120.7 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.009362, allocations: 8.562 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.009373, allocations: 0 / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.009381, allocations: 4.812 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.009431, allocations: 15.98 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.009435, allocations: 8.594 kB / 0.527 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.009518, allocations: 37.16 kB / 0.527 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.009523, allocations: 5.594 kB / 0.527 GB, free: 11.07 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 6.678e-05/0.00959, allocations: 172.5 kB / 0.5272 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.009605, allocations: 19.91 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.009624, allocations: 10.09 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.009625, allocations: 4 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.009628, allocations: 3.938 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.00963, allocations: 0 / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.813e-05/0.009698, allocations: 123.9 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.0097, allocations: 4 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.224e-05/0.009712, allocations: 4 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.009714, allocations: 0 / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.009718, allocations: 4 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.009719, allocations: 0 / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00972, allocations: 0 / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.009823, allocations: 158.2 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.009832, allocations: 11.95 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.009846, allocations: 11.98 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.009862, allocations: 0 / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.009885, allocations: 11.98 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.009895, allocations: 4 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.009937, allocations: 145.3 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009937, allocations: 0.75 kB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000185/0.01012, allocations: 75.86 kB / 0.5278 GB, free: 10.27 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.0001595/0.01028, allocations: 186 kB / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.01039, allocations: 119 kB / 0.5281 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01039, allocations: 0 / 0.5281 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.01042, allocations: 27.8 kB / 0.5281 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.067e-05/0.01051, allocations: 11.98 kB / 0.5281 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.01072, allocations: 212 kB / 0.5283 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.702e-05/0.01075, allocations: 67.34 kB / 0.5284 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.01078, allocations: 13.36 kB / 0.5284 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.01084, allocations: 102.1 kB / 0.5285 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01084, allocations: 3.438 kB / 0.5285 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of Templates: time 0.003495/0.01434, allocations: 2.896 MB / 0.5313 GB, free: 6.777 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.4587721889838576]