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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 119.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003859/0.003859, allocations: 280.9 kB / 303.6 MB, free: 3.684 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 180.9 MB / 0.5268 GB, free: 2.691 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002812/0.002812, allocations: 95.84 kB / 0.7259 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7998, allocations: 94.16 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.OccupancySchedule): time 0.002848/0.8027, allocations: 1.416 MB / 0.8192 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.8036, allocations: 0.5127 MB / 0.8197 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.8037, allocations: 0.5 kB / 0.8197 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.238e-05/0.8038, allocations: 5.531 kB / 0.8197 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.8038, allocations: 10.11 kB / 0.8197 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.8046, allocations: 232.2 kB / 0.8199 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.8049, allocations: 143.1 kB / 0.8201 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.8049, allocations: 1.938 kB / 0.8201 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.805, allocations: 66.84 kB / 0.8201 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.8051, allocations: 43.34 kB / 0.8202 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.8051, allocations: 10.16 kB / 0.8202 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.8055, allocations: 167.2 kB / 0.8204 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.8055, allocations: 37.25 kB / 0.8204 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.167e-05/0.8056, allocations: 53.38 kB / 0.8204 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.806, allocations: 233.5 kB / 0.8207 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.806, allocations: 1.406 kB / 0.8207 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.806, allocations: 0 / 0.8207 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.806, allocations: 0 / 0.8207 GB, free: 5.707 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.0006229/0.8066, allocations: 454.6 kB / 0.8211 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8067, allocations: 12.81 kB / 0.8211 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.734e-05/0.8068, allocations: 20.66 kB / 0.8211 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.807, allocations: 207.3 kB / 0.8213 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.807, allocations: 9 kB / 0.8213 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.807, allocations: 9.781 kB / 0.8213 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.8072, allocations: 77.91 kB / 0.8214 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8072, allocations: 4.188 kB / 0.8214 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8072, allocations: 9.125 kB / 0.8214 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.8072, allocations: 1.562 kB / 0.8214 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.8073, allocations: 39.62 kB / 0.8215 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.8076, allocations: 229.5 kB / 0.8217 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.8077, allocations: 72 kB / 0.8218 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.352e-05/0.8078, allocations: 59.95 kB / 0.8218 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.8079, allocations: 0.9688 kB / 0.8218 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.8081, allocations: 110.5 kB / 0.8219 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.8081, allocations: 1.125 kB / 0.8219 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0004193/0.8085, allocations: 188.7 kB / 0.8221 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.8086, allocations: 91.78 kB / 0.8222 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.8087, allocations: 150 kB / 0.8223 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.8088, allocations: 37.75 kB / 0.8224 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.8088, allocations: 105 kB / 0.8225 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.8089, allocations: 42.69 kB / 0.8225 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/0.8089, allocations: 47.55 kB / 0.8226 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.809, allocations: 325.2 kB / 0.8229 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.8091, allocations: 42.88 kB / 0.8229 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.8093, allocations: 210.5 kB / 0.8231 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.8094, allocations: 92.52 kB / 0.8232 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8094, allocations: 2.625 kB / 0.8232 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002185/0.8097, allocations: 167.2 kB / 0.8234 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.8097, allocations: 7.156 kB / 0.8234 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.8097, allocations: 0.6562 kB / 0.8234 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.8097, allocations: 3.75 kB / 0.8234 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.8098, allocations: 10.16 kB / 0.8234 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8098, allocations: 1.594 kB / 0.8234 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.8101, allocations: 77.58 kB / 0.8235 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.8101, allocations: 5.953 kB / 0.8235 GB, free: 3.418 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.000111/0.8102, allocations: 133.1 kB / 0.8236 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.8102, allocations: 19.23 kB / 0.8236 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.8103, allocations: 13.08 kB / 0.8236 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8103, allocations: 0 / 0.8236 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8103, allocations: 2.625 kB / 0.8236 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.8103, allocations: 0.5625 kB / 0.8236 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.8105, allocations: 192.4 kB / 0.8238 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.8105, allocations: 4.594 kB / 0.8238 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.8105, allocations: 12.38 kB / 0.8238 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8105, allocations: 0 / 0.8238 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.8105, allocations: 7.328 kB / 0.8238 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.8105, allocations: 4.547 kB / 0.8238 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8105, allocations: 7.938 kB / 0.8238 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.8107, allocations: 173.7 kB / 0.824 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.8108, allocations: 96.7 kB / 0.8241 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.8108, allocations: 3.422 kB / 0.8241 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.8108, allocations: 3.859 kB / 0.8241 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.8109, allocations: 4.938 kB / 0.8241 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.8109, allocations: 11.33 kB / 0.8241 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.308e-05/0.811, allocations: 109.3 kB / 0.8242 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.811, allocations: 3.938 kB / 0.8242 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003307/0.8113, allocations: 74.12 kB / 0.8243 GB, free: 2.723 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.0002681/0.8116, allocations: 162.2 kB / 0.8245 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.8119, allocations: 168.4 kB / 0.8246 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8119, allocations: 0 / 0.8246 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.012e-05/0.8119, allocations: 38.52 kB / 0.8247 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.8121, allocations: 11.81 kB / 0.8247 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.8126, allocations: 261.9 kB / 0.8249 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.8128, allocations: 0.7079 MB / 0.8256 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.8128, allocations: 13.47 kB / 0.8256 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.8128, allocations: 0 / 0.8256 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of Templates: time 0.005641/0.8184, allocations: 2.443 MB / 0.828 GB, free: 1.324 MB / 0.5762 GB " [Timeout remaining time 659] 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.537493238924071] Failed to read output from testmodel.py, exit status != 0: 0.8271718767937273 0.843059619 0.033767645 Calling exit ...