Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00197/0.00197, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001812/0.001812, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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.643/1.643, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002707/0.002707, allocations: 292.1 kB / 313.5 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.381/1.381, allocations: 180.6 MB / 0.5377 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") translateModel(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003092/0.003092, allocations: 100.2 kB / 0.7407 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2609, allocations: 95.39 MB / 0.8338 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.003688/0.2645, allocations: 1.414 MB / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2658, allocations: 472.1 kB / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.2658, allocations: 0 / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.496e-05/0.2659, allocations: 11.88 kB / 0.8357 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.266, allocations: 15.91 kB / 0.8357 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.267, allocations: 234.1 kB / 0.8359 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.2673, allocations: 151.7 kB / 0.8361 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.2674, allocations: 11.94 kB / 0.8361 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.2675, allocations: 51.92 kB / 0.8361 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.2676, allocations: 47.81 kB / 0.8362 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.2676, allocations: 8 kB / 0.8362 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.268, allocations: 191.7 kB / 0.8364 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.2681, allocations: 39.89 kB / 0.8364 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.579e-05/0.2681, allocations: 35.86 kB / 0.8364 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.2685, allocations: 235.3 kB / 0.8367 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2685, allocations: 0 / 0.8367 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2685, allocations: 3.938 kB / 0.8367 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2685, allocations: 0 / 0.8367 GB, free: 4.977 MB / 0.5762 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.000667/0.2692, allocations: 381.5 kB / 0.837 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2692, allocations: 21.86 kB / 0.837 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.2693, allocations: 16.89 kB / 0.8371 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.2696, allocations: 152.8 kB / 0.8372 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2696, allocations: 4.375 kB / 0.8372 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.2696, allocations: 12.38 kB / 0.8372 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.2698, allocations: 83.89 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2699, allocations: 192 / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2699, allocations: 7.938 kB / 0.8373 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2699, allocations: 0 / 0.8373 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.27, allocations: 43.97 kB / 0.8374 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.2703, allocations: 154.2 kB / 0.8375 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.2705, allocations: 77.17 kB / 0.8376 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2706, allocations: 49.81 kB / 0.8376 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.2706, allocations: 3.984 kB / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.271, allocations: 117 kB / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.271, allocations: 0 / 0.8377 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0004639/0.2714, allocations: 189.4 kB / 0.8379 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2715, allocations: 89.09 kB / 0.838 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2717, allocations: 157.5 kB / 0.8382 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.2717, allocations: 33.7 kB / 0.8382 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.2718, allocations: 100.5 kB / 0.8383 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.2719, allocations: 31.73 kB / 0.8383 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.272, allocations: 57.64 kB / 0.8384 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.2722, allocations: 322.8 kB / 0.8387 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.2723, allocations: 43.97 kB / 0.8387 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.2729, allocations: 0.6026 MB / 0.8393 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.2731, allocations: 93.64 kB / 0.8394 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2731, allocations: 0 / 0.8394 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000295/0.2734, allocations: 165.5 kB / 0.8396 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2734, allocations: 11.94 kB / 0.8396 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.2734, allocations: 4 kB / 0.8396 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.2735, allocations: 0 / 0.8396 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2736, allocations: 11.94 kB / 0.8396 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2736, allocations: 0 / 0.8396 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.2739, allocations: 71.86 kB / 0.8396 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2739, allocations: 4 kB / 0.8397 GB, free: 1.547 MB / 0.5762 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.0002107/0.2741, allocations: 150.3 kB / 0.8398 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.2741, allocations: 11.89 kB / 0.8398 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.2742, allocations: 16.7 kB / 0.8398 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2742, allocations: 0 / 0.8398 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2742, allocations: 0 / 0.8398 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2742, allocations: 4 kB / 0.8398 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.2744, allocations: 133.2 kB / 0.84 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2744, allocations: 4 kB / 0.84 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.2744, allocations: 4 kB / 0.84 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2744, allocations: 0 / 0.84 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.2744, allocations: 15.94 kB / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2745, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2745, allocations: 0 / 0.84 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.2748, allocations: 180.8 kB / 0.8401 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2748, allocations: 15.89 kB / 0.8402 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2748, allocations: 3.938 kB / 0.8402 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.2749, allocations: 4 kB / 0.8402 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.2749, allocations: 11.98 kB / 0.8402 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2749, allocations: 4 kB / 0.8402 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000115/0.275, allocations: 113.8 kB / 0.8403 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.275, allocations: 0 / 0.8403 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003768/0.2754, allocations: 79.81 kB / 0.8404 GB, free: 0.7461 MB / 0.5762 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.0003647/0.2758, allocations: 170.9 kB / 0.8405 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.2762, allocations: 159.6 kB / 0.8407 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2762, allocations: 0 / 0.8407 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2763, allocations: 43.92 kB / 0.8407 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2765, allocations: 11.94 kB / 0.8407 GB, free: 356 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.2772, allocations: 253.1 kB / 0.841 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.2773, allocations: 89.27 kB / 0.8411 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.2774, allocations: 15.44 kB / 0.8411 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of SimCode: time 7.62e-07/0.2774, allocations: 0 / 0.8411 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.005754/0.2831, allocations: 2.481 MB / 0.8435 GB, free: 13.47 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.533396543003619] Failed to read output from testmodel.py, exit status != 0: 0.2936167321167886 0.31123712400000003 0.038925304 Calling exit ...