Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002502/0.002502, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.003132/0.003132, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.666/1.666, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.31/3.31, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.654e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003055/0.003092, allocations: 1.428 MB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.004129, allocations: 462.1 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.00417, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.677e-05/0.004266, allocations: 7.922 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.004331, allocations: 7.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.005199, allocations: 245.5 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.005474, allocations: 147.8 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.005526, allocations: 3.984 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.005801, allocations: 83.88 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.005904, allocations: 39.83 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.005942, allocations: 12 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.006312, allocations: 187.7 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.006396, allocations: 31.92 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.006487, allocations: 43.89 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.006936, allocations: 271.3 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.00694, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.344e-06/0.006943, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.006948, allocations: 0 / 1.004 GB, free: 10.09 MB / 0.9636 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.0007398/0.007688, allocations: 377.6 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.007735, allocations: 13.28 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.007807, allocations: 16.84 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.008074, allocations: 149.6 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.008094, allocations: 8.375 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.008123, allocations: 8.375 kB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.008328, allocations: 79.95 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.008339, allocations: 192 / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.008353, allocations: 4.359 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.008362, allocations: 4.375 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.008461, allocations: 43.86 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.00872, allocations: 166.1 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.00886, allocations: 69.25 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.008948, allocations: 53.8 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.008965, allocations: 4 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.009198, allocations: 109 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 9.12e-07/0.009199, allocations: 0 / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004176/0.009617, allocations: 189.4 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.734e-05/0.009704, allocations: 89.09 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.00987, allocations: 155.8 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.00991, allocations: 37.64 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.009999, allocations: 100.5 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.01007, allocations: 39.69 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.01015, allocations: 53.69 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.01034, allocations: 326.8 kB / 1.006 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.01041, allocations: 35.98 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.01095, allocations: 0.6035 MB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.01113, allocations: 97.62 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.01113, allocations: 0 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002616/0.01139, allocations: 161.5 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.01141, allocations: 12 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.01143, allocations: 0 / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.01146, allocations: 7.938 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.01155, allocations: 4 kB / 1.007 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.01157, allocations: 7.938 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.01186, allocations: 79.78 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01187, allocations: 4 kB / 1.007 GB, free: 6.668 MB / 0.9636 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.0001559/0.01203, allocations: 133.8 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.01205, allocations: 11.91 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.01209, allocations: 16.77 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.0121, allocations: 3.938 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.0121, allocations: 0 / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01211, allocations: 4 kB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.01225, allocations: 129.3 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.01226, allocations: 4 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.01229, allocations: 8 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.0123, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01231, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01231, allocations: 11.88 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01231, allocations: 3.938 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.01259, allocations: 177.8 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.01261, allocations: 15.89 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01263, allocations: 4 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.01267, allocations: 8 kB / 1.007 GB, free: 6.082 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.01272, allocations: 11.92 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01273, allocations: 4 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.805e-05/0.01283, allocations: 117.7 kB / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01283, allocations: 0 / 1.008 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000342/0.01317, allocations: 71.86 kB / 1.008 GB, free: 5.883 MB / 0.9636 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.0003346/0.01351, allocations: 184.4 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.01381, allocations: 156.2 kB / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01381, allocations: 0 / 1.008 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.01389, allocations: 35.98 kB / 1.008 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.01406, allocations: 12.27 kB / 1.008 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.01457, allocations: 230.6 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.01468, allocations: 93.05 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.018e-05/0.01473, allocations: 12.72 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.01476, allocations: 16.44 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01476, allocations: 0 / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of Templates: time 0.007133/0.02189, allocations: 2.685 MB / 1.011 GB, free: 2.453 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.383880059234798]