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.001406/0.001406, allocations: 78.27 kB / 19.01 MB, free: 2.859 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.001598/0.001598, allocations: 156.1 kB / 22.25 MB, free: 5.109 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.437/1.437, allocations: 177.2 MB / 202.6 MB, free: 9.277 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.002638/0.002638, allocations: 234 kB / 259.2 MB, free: 0.5977 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.073/1.073, allocations: 138.5 MB / 454.2 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: 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.003354/0.003354, allocations: 107.8 kB / 0.6466 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4115, allocations: 95.34 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002669/0.4142, allocations: 1.425 MB / 0.7411 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.4151, allocations: 477 kB / 0.7415 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.4152, allocations: 0 / 0.7415 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.889e-05/0.4152, allocations: 3.938 kB / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.4153, allocations: 11.92 kB / 0.7415 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007362/0.416, allocations: 246.8 kB / 0.7418 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.4162, allocations: 151.7 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.4163, allocations: 7.953 kB / 0.7419 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4164, allocations: 87.86 kB / 0.742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.4165, allocations: 31.84 kB / 0.742 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.4165, allocations: 12 kB / 0.742 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.4169, allocations: 187.8 kB / 0.7422 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.717e-05/0.4169, allocations: 39.84 kB / 0.7423 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.417, allocations: 47.78 kB / 0.7423 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.4174, allocations: 236.4 kB / 0.7425 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4174, allocations: 4 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4174, allocations: 4 kB / 0.7425 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.4174, allocations: 0 / 0.7425 GB, free: 12.3 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.0006117/0.418, allocations: 373.6 kB / 0.7429 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.418, allocations: 13.88 kB / 0.7429 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.4181, allocations: 12.89 kB / 0.7429 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.4183, allocations: 146.4 kB / 0.7431 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.4183, allocations: 8.375 kB / 0.7431 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.4183, allocations: 12.38 kB / 0.7431 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.4185, allocations: 79.95 kB / 0.7432 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4185, allocations: 4.125 kB / 0.7432 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4185, allocations: 11.92 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.4185, allocations: 3.984 kB / 0.7432 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.379e-05/0.4186, allocations: 39.92 kB / 0.7432 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.4188, allocations: 166.1 kB / 0.7434 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4189, allocations: 69.19 kB / 0.7434 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.419, allocations: 53.81 kB / 0.7435 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.419, allocations: 0 / 0.7435 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.4192, allocations: 109.1 kB / 0.7436 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.4192, allocations: 0 / 0.7436 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003577/0.4196, allocations: 193.5 kB / 0.7438 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.4197, allocations: 81.11 kB / 0.7439 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4198, allocations: 164.1 kB / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.4198, allocations: 33.7 kB / 0.744 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.4199, allocations: 100.5 kB / 0.7441 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.42, allocations: 35.72 kB / 0.7442 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.42, allocations: 57.69 kB / 0.7442 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4202, allocations: 322.8 kB / 0.7445 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.4203, allocations: 39.98 kB / 0.7446 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/0.4207, allocations: 0.5986 MB / 0.7452 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4209, allocations: 101.6 kB / 0.7453 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4209, allocations: 0 / 0.7453 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002391/0.4211, allocations: 157.5 kB / 0.7454 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4211, allocations: 11.94 kB / 0.7454 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.4211, allocations: 0 / 0.7454 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4212, allocations: 4 kB / 0.7454 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.4212, allocations: 7.938 kB / 0.7454 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4212, allocations: 4 kB / 0.7454 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.4215, allocations: 79.78 kB / 0.7455 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.4215, allocations: 7.938 kB / 0.7455 GB, free: 8.883 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.0001222/0.4216, allocations: 133.8 kB / 0.7456 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.4217, allocations: 19.88 kB / 0.7457 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.4217, allocations: 12.78 kB / 0.7457 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4217, allocations: 7.938 kB / 0.7457 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4217, allocations: 0 / 0.7457 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4217, allocations: 0 / 0.7457 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4218, allocations: 133.2 kB / 0.7458 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4218, allocations: 0 / 0.7458 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.4219, allocations: 8 kB / 0.7458 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4219, allocations: 0 / 0.7458 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4219, allocations: 11.94 kB / 0.7458 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.4219, allocations: 7.984 kB / 0.7458 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4219, allocations: 0 / 0.7458 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.4221, allocations: 170 kB / 0.746 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.4222, allocations: 31.7 kB / 0.746 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4222, allocations: 7.938 kB / 0.746 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.4222, allocations: 4 kB / 0.746 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.4223, allocations: 11.98 kB / 0.7461 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4223, allocations: 4 kB / 0.7461 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.836e-05/0.4224, allocations: 114.3 kB / 0.7462 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4224, allocations: 0 / 0.7462 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002937/0.4227, allocations: 75.86 kB / 0.7462 GB, free: 8.082 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.0002468/0.4229, allocations: 162.1 kB / 0.7464 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.4232, allocations: 155.3 kB / 0.7465 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4232, allocations: 0 / 0.7465 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.4232, allocations: 47.91 kB / 0.7466 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.4234, allocations: 11.92 kB / 0.7466 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.4238, allocations: 227.4 kB / 0.7468 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.157e-05/0.4239, allocations: 89.11 kB / 0.7469 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.424, allocations: 8.734 kB / 0.7469 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.424, allocations: 16.5 kB / 0.7469 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.424, allocations: 0 / 0.7469 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of Templates: time 0.005832/0.4298, allocations: 2.692 MB / 0.7496 GB, free: 4.668 MB / 0.5762 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.880176724866033] Failed to read output from testmodel.py, exit status != 0: 0.43877766840159893 0.453203358 0.032631675 Calling exit ...