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.88 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.001093/0.001093, allocations: 181 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 0.9622/0.9622, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.779/0.779, allocations: 154.9 MB / 415.1 MB, free: 228 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.213e-06/1.213e-06, allocations: 0 / 480.3 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.792e-05, allocations: 5.5 kB / 480.3 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001617/0.001635, allocations: 1.449 MB / 481.8 MB, free: 5.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005602/0.002196, allocations: 486.1 kB / 482.2 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.002226, allocations: 4 kB / 482.2 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.882e-05/0.002285, allocations: 8.766 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.002338, allocations: 13.2 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.002877, allocations: 244 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.003031, allocations: 157.5 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.002e-05/0.003061, allocations: 8.547 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.863e-05/0.003129, allocations: 71.42 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.003184, allocations: 46.83 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.003203, allocations: 8 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.003413, allocations: 179.7 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.003457, allocations: 44.42 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.003497, allocations: 32.55 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.003717, allocations: 251.4 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.003718, allocations: 1.344 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.31e-07/0.003719, allocations: 0 / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003722, allocations: 3.984 kB / 483.3 MB, free: 3.641 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.0003185/0.004041, allocations: 347.9 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.004066, allocations: 10.78 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.004097, allocations: 12.92 kB / 483.7 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.004215, allocations: 149.5 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.004225, allocations: 8.375 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.004243, allocations: 12.38 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.004317, allocations: 62.78 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.004322, allocations: 192 / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.004328, allocations: 384 / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004332, allocations: 1.312 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.00436, allocations: 25.52 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.534e-05/0.004455, allocations: 101.8 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.004511, allocations: 53.62 kB / 484.1 MB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.004536, allocations: 28.06 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-06/0.004541, allocations: 0 / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.867e-05/0.00463, allocations: 96.06 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 6.31e-07/0.004631, allocations: 0.625 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.000127/0.004758, allocations: 87.25 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.0048, allocations: 93.66 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.004865, allocations: 144.2 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.004883, allocations: 33.7 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.004916, allocations: 101.1 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.004946, allocations: 31.73 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.004991, allocations: 54.23 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.005062, allocations: 331.4 kB / 485 MB, free: 1.711 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.005081, allocations: 14.83 kB / 485.1 MB, free: 1.695 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.005257, allocations: 0.5383 MB / 485.6 MB, free: 1.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.871e-05/0.005316, allocations: 67.89 kB / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005318, allocations: 0 / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003034/0.005621, allocations: 103.2 kB / 485.8 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.005631, allocations: 5.781 kB / 485.8 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.005646, allocations: 4 kB / 485.8 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.005655, allocations: 0 / 485.8 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.036e-05/0.005715, allocations: 15.98 kB / 485.8 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.00572, allocations: 8.75 kB / 485.8 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.005807, allocations: 36.86 kB / 485.8 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.005814, allocations: 4 kB / 485.8 MB, free: 0.7539 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 6.584e-05/0.00588, allocations: 127.9 kB / 486 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.005892, allocations: 11.98 kB / 486 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.005912, allocations: 12.78 kB / 486 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.005916, allocations: 4.562 kB / 486 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005918, allocations: 0 / 486 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005922, allocations: 5.062 kB / 486 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.335e-05/0.005985, allocations: 85.77 kB / 486.1 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005986, allocations: 0 / 486.1 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.006006, allocations: 13.48 kB / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.006008, allocations: 0.625 kB / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-06/0.006012, allocations: 0 / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006013, allocations: 5.156 kB / 486.1 MB, free: 484 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006014, allocations: 0 / 486.1 MB, free: 484 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.144e-05/0.006095, allocations: 116.4 kB / 486.2 MB, free: 344 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.006103, allocations: 12.45 kB / 486.2 MB, free: 332 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.006114, allocations: 0 / 486.2 MB, free: 332 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.006134, allocations: 9.922 kB / 486.2 MB, free: 324 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.006157, allocations: 7.984 kB / 486.2 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.006161, allocations: 4 kB / 486.2 MB, free: 312 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.044e-05/0.006182, allocations: 27.41 kB / 486.3 MB, free: 284 kB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006182, allocations: 0 / 486.3 MB, free: 284 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.006355, allocations: 84.3 kB / 486.4 MB, free: 200 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.0001461/0.006501, allocations: 158.4 kB / 486.5 MB, free: 36 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.006624, allocations: 116.8 kB / 486.6 MB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006626, allocations: 0 / 486.6 MB, free: 15.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.006652, allocations: 30.19 kB / 486.6 MB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.761e-05/0.00671, allocations: 11.98 kB / 486.7 MB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.006936, allocations: 196.3 kB / 486.9 MB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.00697, allocations: 67.34 kB / 486.9 MB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.428e-05/0.006994, allocations: 10.08 kB / 486.9 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.007064, allocations: 80.67 kB / 487 MB, free: 15.46 MB / 458.7 MB Notification: Performance of SimCode: time 7.42e-07/0.007065, allocations: 0 / 487 MB, free: 15.46 MB / 458.7 MB Notification: Performance of Templates: time 0.003705/0.01077, allocations: 2.843 MB / 489.8 MB, free: 12.88 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.664472236763686]