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.001306/0.001306, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001434/0.001434, allocations: 174.7 kB / 22.46 MB, free: 5.355 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.002516/0.002516, allocations: 249.1 kB / 259.4 MB, free: 480 kB / 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.087/1.087, allocations: 138.4 MB / 454.3 MB, free: 2.039 MB / 366.1 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6467 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.271e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002347/0.00237, allocations: 1.421 MB / 0.6481 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.003261, allocations: 478 kB / 0.6486 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.003289, allocations: 4 kB / 0.6486 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.838e-05/0.003358, allocations: 7.938 kB / 0.6486 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.003415, allocations: 15.86 kB / 0.6486 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.004151, allocations: 235.3 kB / 0.6488 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.004374, allocations: 147.7 kB / 0.649 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.004418, allocations: 11.98 kB / 0.649 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.004533, allocations: 75.88 kB / 0.6491 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.004616, allocations: 35.95 kB / 0.6491 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.004647, allocations: 8 kB / 0.6491 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.004963, allocations: 183.7 kB / 0.6493 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.005036, allocations: 43.89 kB / 0.6493 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.589e-05/0.005102, allocations: 31.92 kB / 0.6494 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.005485, allocations: 279.3 kB / 0.6496 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005487, allocations: 0 / 0.6496 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.1e-07/0.005487, allocations: 0 / 0.6496 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.005496, allocations: 0 / 0.6496 GB, free: 2.125 MB / 0.5606 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.0005491/0.006045, allocations: 373.5 kB / 0.65 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.006078, allocations: 17.34 kB / 0.65 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.00613, allocations: 12.89 kB / 0.65 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.00635, allocations: 159.8 kB / 0.6502 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006365, allocations: 4.375 kB / 0.6502 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.006399, allocations: 16.38 kB / 0.6502 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.006556, allocations: 79.95 kB / 0.6503 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.006564, allocations: 192 / 0.6503 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.006573, allocations: 384 / 0.6503 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.006577, allocations: 384 / 0.6503 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.00666, allocations: 47.84 kB / 0.6503 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.006871, allocations: 158.2 kB / 0.6505 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.007011, allocations: 73.19 kB / 0.6505 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.007091, allocations: 57.78 kB / 0.6506 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.007104, allocations: 3.938 kB / 0.6506 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.00728, allocations: 105.1 kB / 0.6507 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.007282, allocations: 0 / 0.6507 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0003435/0.007625, allocations: 181.5 kB / 0.6509 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.007689, allocations: 89.09 kB / 0.6509 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007826, allocations: 153.7 kB / 0.6511 GB, free: 460 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.007863, allocations: 37.7 kB / 0.6511 GB, free: 416 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.00794, allocations: 104.5 kB / 0.6512 GB, free: 304 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.007986, allocations: 35.67 kB / 0.6513 GB, free: 268 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.008069, allocations: 53.7 kB / 0.6513 GB, free: 208 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2356/0.2436, allocations: 322.8 kB / 0.6516 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.2437, allocations: 39.27 kB / 0.6517 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.244, allocations: 0.6006 MB / 0.6522 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2441, allocations: 97.11 kB / 0.6523 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2441, allocations: 0 / 0.6523 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002269/0.2443, allocations: 160 kB / 0.6525 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2443, allocations: 7.703 kB / 0.6525 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.2444, allocations: 1 kB / 0.6525 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2444, allocations: 7.641 kB / 0.6525 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.2445, allocations: 11.75 kB / 0.6525 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2445, allocations: 4.125 kB / 0.6525 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.2448, allocations: 75.02 kB / 0.6526 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2448, allocations: 5.812 kB / 0.6526 GB, free: 55.88 MB / 0.5606 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 9.394e-05/0.2449, allocations: 143.4 kB / 0.6527 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.2449, allocations: 15.61 kB / 0.6527 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.2449, allocations: 18.05 kB / 0.6528 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2449, allocations: 3.75 kB / 0.6528 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2449, allocations: 0 / 0.6528 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2449, allocations: 6.531 kB / 0.6528 GB, free: 55.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.245, allocations: 126.5 kB / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.245, allocations: 2.5 kB / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.245, allocations: 10.22 kB / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2451, allocations: 0 / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.2451, allocations: 4.844 kB / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2451, allocations: 4.812 kB / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2451, allocations: 0 / 0.6529 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.2452, allocations: 181.1 kB / 0.6531 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.2453, allocations: 10 kB / 0.6531 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2453, allocations: 5.484 kB / 0.6531 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.437e-05/0.2453, allocations: 6.234 kB / 0.6531 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.2454, allocations: 10.02 kB / 0.6531 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.2454, allocations: 4.25 kB / 0.6531 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.2454, allocations: 123.3 kB / 0.6532 GB, free: 55.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2454, allocations: 0 / 0.6532 GB, free: 55.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002959/0.2457, allocations: 70.7 kB / 0.6533 GB, free: 55.49 MB / 0.5606 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.0002221/0.2459, allocations: 180.6 kB / 0.6535 GB, free: 55.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2462, allocations: 162.9 kB / 0.6536 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2462, allocations: 0.7188 kB / 0.6536 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.515e-05/0.2462, allocations: 37.53 kB / 0.6537 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.2464, allocations: 9.781 kB / 0.6537 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.2467, allocations: 232.5 kB / 0.6539 GB, free: 55.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.2468, allocations: 89.84 kB / 0.654 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.2468, allocations: 15.3 kB / 0.654 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.2468, allocations: 13.25 kB / 0.654 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2468, allocations: 0 / 0.654 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.004977/0.2518, allocations: 2.7 MB / 0.6567 GB, free: 54.91 MB / 0.5606 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: 5.765196621417999] Failed to read output from testmodel.py, exit status != 0: 0.2591029666364193 0.26848881899999993 0.26075774799999996 Calling exit ...