Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001375/0.001375, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001474/0.001474, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9212/0.9212, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7422/0.7422, allocations: 154.6 MB / 415.6 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5215 GB, free: 1.992 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.828e-05, allocations: 5.516 kB / 0.5215 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002871/0.0029, allocations: 1.431 MB / 0.5229 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.00384, allocations: 479.5 kB / 0.5233 GB, free: 100 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.003893, allocations: 0 / 0.5233 GB, free: 100 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.003981, allocations: 11.92 kB / 0.5234 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.561e-05/0.004056, allocations: 12.39 kB / 0.5234 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.005097, allocations: 254.6 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.005344, allocations: 147.3 kB / 0.5238 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.005393, allocations: 7.984 kB / 0.5238 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.005521, allocations: 75.88 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.005606, allocations: 39.89 kB / 0.5239 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.005637, allocations: 8.562 kB / 0.5239 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.005976, allocations: 187.7 kB / 0.5241 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.006038, allocations: 36.47 kB / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.006101, allocations: 36.78 kB / 0.5241 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.006511, allocations: 251.4 kB / 0.5244 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.006516, allocations: 0 / 0.5244 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.006518, allocations: 1.469 kB / 0.5244 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.006524, allocations: 0 / 0.5244 GB, free: 15.06 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.0005856/0.007109, allocations: 483.8 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.00715, allocations: 8.969 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.007213, allocations: 16.89 kB / 0.5249 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.007391, allocations: 144.4 kB / 0.525 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.007407, allocations: 9.5 kB / 0.525 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.00743, allocations: 16.38 kB / 0.525 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.007545, allocations: 74.97 kB / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.007554, allocations: 192 / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.007562, allocations: 384 / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.007568, allocations: 384 / 0.5251 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.007611, allocations: 19.92 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.007797, allocations: 153.7 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.007884, allocations: 67.33 kB / 0.5253 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.007925, allocations: 35.64 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.007933, allocations: 4 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.008081, allocations: 101.7 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.008082, allocations: 0 / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002671/0.008349, allocations: 121.5 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.008405, allocations: 81.89 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.008532, allocations: 208 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.008564, allocations: 35.42 kB / 0.5259 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.008641, allocations: 147.2 kB / 0.526 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.008691, allocations: 35.72 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.008774, allocations: 63.33 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.008915, allocations: 0.4961 MB / 0.5266 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.008953, allocations: 14.64 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.009263, allocations: 0.602 MB / 0.5272 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.472e-05/0.009358, allocations: 61.2 kB / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.00936, allocations: 0 / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001969/0.009557, allocations: 116.7 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.009574, allocations: 8 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.009596, allocations: 4 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.009607, allocations: 2.75 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.009703, allocations: 19.94 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.009711, allocations: 11.92 kB / 0.5274 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.009861, allocations: 27.88 kB / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.009874, allocations: 8 kB / 0.5275 GB, free: 11.5 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 0.0001065/0.00998, allocations: 169.7 kB / 0.5276 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.01001, allocations: 20.83 kB / 0.5276 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.01004, allocations: 12.78 kB / 0.5276 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01005, allocations: 4.875 kB / 0.5276 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01005, allocations: 3.938 kB / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01005, allocations: 0 / 0.5277 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.01021, allocations: 129.7 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01021, allocations: 0.6875 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.01025, allocations: 7.938 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01026, allocations: 1.219 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01026, allocations: 4 kB / 0.5278 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01027, allocations: 4 kB / 0.5278 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01027, allocations: 0.625 kB / 0.5278 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.0105, allocations: 154.2 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.01051, allocations: 8.609 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.01053, allocations: 4 kB / 0.528 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.01057, allocations: 9.328 kB / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.0106, allocations: 0 / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.01061, allocations: 7.984 kB / 0.528 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.01066, allocations: 154.5 kB / 0.5281 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01066, allocations: 0 / 0.5281 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002265/0.01089, allocations: 75.86 kB / 0.5282 GB, free: 10.68 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.0002093/0.0111, allocations: 175 kB / 0.5284 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.01126, allocations: 122.9 kB / 0.5285 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01126, allocations: 2.906 kB / 0.5285 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.179e-05/0.01129, allocations: 35.66 kB / 0.5285 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.01141, allocations: 0 / 0.5285 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.0117, allocations: 218.4 kB / 0.5287 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.01175, allocations: 63.34 kB / 0.5288 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.01178, allocations: 9.391 kB / 0.5288 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.01186, allocations: 102.2 kB / 0.5289 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of SimCode: time 8.21e-07/0.01186, allocations: 1.312 kB / 0.5289 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of Templates: time 0.004395/0.01626, allocations: 2.921 MB / 0.5317 GB, free: 7.164 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.62811694573611]