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.001007/0.001007, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001069/0.001069, allocations: 177 kB / 23.36 MB, free: 1.133 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8112/0.8112, allocations: 154.9 MB / 415.1 MB, free: 236 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.953e-06/1.953e-06, allocations: 0 / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.368e-05, allocations: 5.766 kB / 480.4 MB, free: 6.551 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002767/0.002791, allocations: 1.491 MB / 481.8 MB, free: 5.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.003727, allocations: 483.7 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.003768, allocations: 0 / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.439e-05/0.003862, allocations: 7.922 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.003953, allocations: 13.34 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.004658, allocations: 234.9 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.004874, allocations: 149.4 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.004916, allocations: 11.97 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.005036, allocations: 77.62 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.005109, allocations: 32.88 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.005136, allocations: 8 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003473/0.005483, allocations: 203.7 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/0.00554, allocations: 45.33 kB / 483.1 MB, free: 3.887 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.005599, allocations: 35.92 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.005918, allocations: 251.3 kB / 483.4 MB, free: 3.605 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005921, allocations: 4 kB / 483.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005922, allocations: 0.9062 kB / 483.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005926, allocations: 0 / 483.4 MB, free: 3.602 MB / 442.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.0004352/0.006361, allocations: 355.9 kB / 483.7 MB, free: 3.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.006393, allocations: 8.656 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.006439, allocations: 12.92 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.006612, allocations: 150.9 kB / 483.9 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.006626, allocations: 8.375 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.006652, allocations: 12.38 kB / 483.9 MB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.00675, allocations: 59.31 kB / 484 MB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.006757, allocations: 192 / 484 MB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.006766, allocations: 9.375 kB / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006772, allocations: 384 / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.006817, allocations: 21.58 kB / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.006952, allocations: 102 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.007028, allocations: 57.28 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.007064, allocations: 29.58 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.007071, allocations: 0 / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.007194, allocations: 93.39 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.007196, allocations: 0 / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001834/0.007379, allocations: 87.25 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.007429, allocations: 89.05 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.856e-05/0.007528, allocations: 148.6 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.007561, allocations: 33.7 kB / 484.6 MB, free: 2.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.007606, allocations: 97.94 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.007649, allocations: 35.72 kB / 484.8 MB, free: 2.059 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.007723, allocations: 45.69 kB / 484.8 MB, free: 2.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.00782, allocations: 334.7 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.00785, allocations: 11.67 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.008123, allocations: 0.5416 MB / 485.7 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.317e-05/0.008216, allocations: 64.03 kB / 485.7 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.008218, allocations: 4 kB / 485.7 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001485/0.008367, allocations: 94.2 kB / 485.8 MB, free: 0.793 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.008379, allocations: 4 kB / 485.8 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.008395, allocations: 4 kB / 485.8 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.00841, allocations: 1.062 kB / 485.8 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.008497, allocations: 23.98 kB / 485.9 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008502, allocations: 4.562 kB / 485.9 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.008647, allocations: 41.05 kB / 485.9 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.008657, allocations: 4 kB / 485.9 MB, free: 0.7148 MB / 442.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 (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 9.001e-05/0.008747, allocations: 129.9 kB / 486 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.008763, allocations: 4 kB / 486 MB, free: 0.5742 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.008792, allocations: 17.39 kB / 486.1 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008794, allocations: 0.7188 kB / 486.1 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.008796, allocations: 0 / 486.1 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.008801, allocations: 4.469 kB / 486.1 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.008898, allocations: 93.77 kB / 486.2 MB, free: 456 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0089, allocations: 0.6562 kB / 486.2 MB, free: 456 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.008934, allocations: 10.41 kB / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.008936, allocations: 0 / 486.2 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.008947, allocations: 7.984 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.008949, allocations: 0 / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.008953, allocations: 5.156 kB / 486.2 MB, free: 436 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.009085, allocations: 106.3 kB / 486.3 MB, free: 304 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.009095, allocations: 11.95 kB / 486.3 MB, free: 292 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.009111, allocations: 4.844 kB / 486.3 MB, free: 288 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.009135, allocations: 3.984 kB / 486.3 MB, free: 284 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.009158, allocations: 4.594 kB / 486.3 MB, free: 280 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.009163, allocations: 4 kB / 486.3 MB, free: 276 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.491e-05/0.009188, allocations: 37.06 kB / 486.4 MB, free: 240 kB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009188, allocations: 0 / 486.4 MB, free: 240 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.009348, allocations: 71.81 kB / 486.4 MB, free: 168 kB / 442.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 (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.0001698/0.009518, allocations: 166.3 kB / 486.6 MB, free: 16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.009631, allocations: 117.2 kB / 486.7 MB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009633, allocations: 0 / 486.7 MB, free: 15.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.434e-05/0.009657, allocations: 24.78 kB / 486.7 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.977e-05/0.009717, allocations: 8 kB / 486.7 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.00994, allocations: 204.9 kB / 486.9 MB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.009973, allocations: 71.33 kB / 487 MB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.01, allocations: 5.297 kB / 487 MB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.01008, allocations: 80.83 kB / 487.1 MB, free: 15.42 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01008, allocations: 0 / 487.1 MB, free: 15.42 MB / 458.7 MB Notification: Performance of Templates: time 0.003786/0.01387, allocations: 2.85 MB / 489.9 MB, free: 12.84 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.774175853934139]