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.001801/0.001801, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002193/0.002193, allocations: 159.5 kB / 23.01 MB, free: 4.949 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.002472/0.002472, allocations: 241.3 kB / 260 MB, free: 468 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 0.941/0.941, allocations: 138.5 MB / 455 MB, free: 15.1 MB / 430.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.003148/0.003148, allocations: 103.8 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4107, allocations: 95.35 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002195/0.4129, allocations: 1.411 MB / 0.7418 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0007604/0.4136, allocations: 476.2 kB / 0.7423 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.4137, allocations: 4.844 kB / 0.7423 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 6.666e-05/0.4137, allocations: 7.984 kB / 0.7423 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.4138, allocations: 12.2 kB / 0.7423 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.4145, allocations: 233.6 kB / 0.7425 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.4147, allocations: 149.2 kB / 0.7426 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.4147, allocations: 7.875 kB / 0.7427 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.726e-05/0.4148, allocations: 56.45 kB / 0.7427 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.4149, allocations: 43.77 kB / 0.7428 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.4149, allocations: 10.16 kB / 0.7428 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.4152, allocations: 189.1 kB / 0.7429 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.4153, allocations: 39.25 kB / 0.743 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.775e-05/0.4153, allocations: 44.33 kB / 0.743 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.4156, allocations: 239.1 kB / 0.7432 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4156, allocations: 5.312 kB / 0.7433 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4156, allocations: 0 / 0.7433 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.4157, allocations: 0 / 0.7433 GB, free: 15.76 MB / 0.5919 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.0004469/0.4161, allocations: 374.8 kB / 0.7436 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4161, allocations: 14.44 kB / 0.7436 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.4162, allocations: 12.95 kB / 0.7436 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.4163, allocations: 156.6 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4164, allocations: 5.75 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.4164, allocations: 13.91 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4165, allocations: 85.08 kB / 0.7439 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4165, allocations: 192 / 0.7439 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4165, allocations: 4.547 kB / 0.7439 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4166, allocations: 5.578 kB / 0.7439 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.4166, allocations: 41.16 kB / 0.7439 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.4168, allocations: 161.1 kB / 0.7441 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.4169, allocations: 70.02 kB / 0.7442 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.4169, allocations: 51.08 kB / 0.7442 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.417, allocations: 2.125 kB / 0.7442 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.4171, allocations: 115.5 kB / 0.7443 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.4171, allocations: 4 kB / 0.7443 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0003001/0.4174, allocations: 183.7 kB / 0.7445 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.4175, allocations: 88.56 kB / 0.7446 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4176, allocations: 157.6 kB / 0.7447 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4176, allocations: 38.92 kB / 0.7448 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.4176, allocations: 100.6 kB / 0.7449 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.4177, allocations: 33.36 kB / 0.7449 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.4177, allocations: 52.94 kB / 0.7449 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.4178, allocations: 324.5 kB / 0.7453 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.4178, allocations: 41.86 kB / 0.7453 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.4181, allocations: 0.6037 MB / 0.7459 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4182, allocations: 94.06 kB / 0.746 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4182, allocations: 5.375 kB / 0.746 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002086/0.4184, allocations: 164.3 kB / 0.7461 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4184, allocations: 8.188 kB / 0.7461 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.4184, allocations: 4.359 kB / 0.7461 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4185, allocations: 2.062 kB / 0.7462 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.4185, allocations: 6.828 kB / 0.7462 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4185, allocations: 5.438 kB / 0.7462 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.4188, allocations: 83.61 kB / 0.7462 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4188, allocations: 4.438 kB / 0.7462 GB, free: 13.21 MB / 0.5919 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 8.139e-05/0.4189, allocations: 138.6 kB / 0.7464 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.4189, allocations: 17.05 kB / 0.7464 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.4189, allocations: 14.61 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4189, allocations: 1.125 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.419, allocations: 0 / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.419, allocations: 2.031 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.874e-05/0.419, allocations: 127.4 kB / 0.7465 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.419, allocations: 1.219 kB / 0.7465 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.4191, allocations: 6.906 kB / 0.7465 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4191, allocations: 0.7969 kB / 0.7465 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4191, allocations: 10.56 kB / 0.7466 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4191, allocations: 8.672 kB / 0.7466 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4191, allocations: 5.375 kB / 0.7466 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.4193, allocations: 176.3 kB / 0.7467 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.4193, allocations: 20.7 kB / 0.7468 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4193, allocations: 6.531 kB / 0.7468 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.4194, allocations: 7.406 kB / 0.7468 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.4194, allocations: 9.844 kB / 0.7468 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.4194, allocations: 3.406 kB / 0.7468 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.447e-05/0.4195, allocations: 110.2 kB / 0.7469 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4195, allocations: 0 / 0.7469 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002865/0.4197, allocations: 75.12 kB / 0.747 GB, free: 12.68 MB / 0.5919 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.0001935/0.4199, allocations: 172.8 kB / 0.7471 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.4202, allocations: 155.5 kB / 0.7473 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4202, allocations: 0 / 0.7473 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.4202, allocations: 37.56 kB / 0.7473 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.4204, allocations: 9.828 kB / 0.7473 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.4207, allocations: 231.5 kB / 0.7475 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.647e-05/0.4208, allocations: 91.84 kB / 0.7476 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.4208, allocations: 8.812 kB / 0.7476 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.4208, allocations: 17.62 kB / 0.7476 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.4208, allocations: 0 / 0.7476 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.006028/0.4269, allocations: 2.698 MB / 0.7503 GB, free: 11.87 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9664069269783795] Failed to read output from testmodel.py, exit status != 0: 0.43417756306007504 0.44476996999999996 0.026746476 Calling exit ...