Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Sources.Examples.DayType.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.002387/0.002387, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002739/0.002739, allocations: 220 kB / 23.02 MB, free: 2.961 MB / 13.93 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.774/1.774, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.407/3.407, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Sources.Examples.DayType") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003581/0.003581, allocations: 73.44 kB / 1.177 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4155, allocations: 180 MB / 1.353 GB, free: 8.699 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.003197/0.4187, allocations: 1.433 MB / 1.354 GB, free: 7.254 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.4194, allocations: 263.2 kB / 1.355 GB, free: 6.996 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.4194, allocations: 0 / 1.355 GB, free: 6.996 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.4195, allocations: 15.86 kB / 1.355 GB, free: 6.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.4196, allocations: 23.78 kB / 1.355 GB, free: 6.957 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.4199, allocations: 91.84 kB / 1.355 GB, free: 6.867 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.4203, allocations: 236 kB / 1.355 GB, free: 6.637 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.4203, allocations: 13.28 kB / 1.355 GB, free: 6.625 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.4204, allocations: 79.83 kB / 1.355 GB, free: 6.547 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.4206, allocations: 103.7 kB / 1.355 GB, free: 6.445 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.4207, allocations: 16 kB / 1.355 GB, free: 6.43 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.667e-05/0.4207, allocations: 16 kB / 1.355 GB, free: 6.414 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4208, allocations: 83.73 kB / 1.355 GB, free: 6.332 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4209, allocations: 91.5 kB / 1.355 GB, free: 6.242 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.4213, allocations: 258.9 kB / 1.355 GB, free: 5.988 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4213, allocations: 0 / 1.355 GB, free: 5.988 MB / 1.042 GB Notification: Performance of FrontEnd: time 4.167e-06/0.4213, allocations: 4 kB / 1.356 GB, free: 5.984 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4213, allocations: 0 / 1.356 GB, free: 5.984 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001058/0.4223, allocations: 0.6225 MB / 1.356 GB, free: 5.301 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4224, allocations: 8.922 kB / 1.356 GB, free: 5.293 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.4225, allocations: 32.73 kB / 1.356 GB, free: 5.262 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.4228, allocations: 217 kB / 1.356 GB, free: 5.023 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.4229, allocations: 20.59 kB / 1.356 GB, free: 5.004 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.4229, allocations: 16.38 kB / 1.356 GB, free: 4.988 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.4236, allocations: 467.2 kB / 1.357 GB, free: 4.516 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4236, allocations: 4.188 kB / 1.357 GB, free: 4.512 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.4236, allocations: 7.938 kB / 1.357 GB, free: 4.504 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.4237, allocations: 4 kB / 1.357 GB, free: 4.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.4241, allocations: 323.8 kB / 1.357 GB, free: 4.184 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.4248, allocations: 475.8 kB / 1.358 GB, free: 3.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.4262, allocations: 1.021 MB / 1.359 GB, free: 2.621 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/0.4271, allocations: 0.6386 MB / 1.359 GB, free: 1.973 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.4271, allocations: 11.98 kB / 1.359 GB, free: 1.961 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/0.4278, allocations: 482.4 kB / 1.36 GB, free: 1.465 MB / 1.042 GB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/0.4278, allocations: 0 / 1.36 GB, free: 1.465 MB / 1.042 GB Notification: Performance of matching and sorting (n=37): time 0.002008/0.4298, allocations: 1.109 MB / 1.361 GB, free: 360 kB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.4299, allocations: 140.5 kB / 1.361 GB, free: 188 kB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.4303, allocations: 256.8 kB / 1.361 GB, free: 15.93 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.4303, allocations: 37.7 kB / 1.361 GB, free: 15.88 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.4304, allocations: 125.1 kB / 1.361 GB, free: 15.76 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 9.981e-05/0.4305, allocations: 83.52 kB / 1.361 GB, free: 15.68 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4307, allocations: 110.1 kB / 1.362 GB, free: 15.56 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.4309, allocations: 350.7 kB / 1.362 GB, free: 15.21 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.4314, allocations: 328.7 kB / 1.362 GB, free: 14.89 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.4319, allocations: 418.5 kB / 1.363 GB, free: 14.45 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.433, allocations: 0.7751 MB / 1.363 GB, free: 13.63 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.433, allocations: 0 / 1.363 GB, free: 13.63 MB / 1.057 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001239/0.4343, allocations: 0.825 MB / 1.364 GB, free: 12.8 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4343, allocations: 12.12 kB / 1.364 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4343, allocations: 0 / 1.364 GB, free: 12.79 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4343, allocations: 11.94 kB / 1.364 GB, free: 12.78 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.4345, allocations: 39.84 kB / 1.364 GB, free: 12.74 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.4345, allocations: 11.98 kB / 1.364 GB, free: 12.73 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.4348, allocations: 31.78 kB / 1.364 GB, free: 12.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/0.4352, allocations: 268 kB / 1.364 GB, free: 12.43 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002487/0.4354, allocations: 190.5 kB / 1.365 GB, free: 12.24 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.4355, allocations: 27.81 kB / 1.365 GB, free: 12.21 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.4356, allocations: 42.05 kB / 1.365 GB, free: 12.17 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4356, allocations: 8 kB / 1.365 GB, free: 12.16 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.4356, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.4356, allocations: 7.922 kB / 1.365 GB, free: 12.15 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.4382, allocations: 1.628 MB / 1.366 GB, free: 10.48 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4382, allocations: 7.875 kB / 1.366 GB, free: 10.47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.4383, allocations: 24.03 kB / 1.366 GB, free: 10.45 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4383, allocations: 4 kB / 1.366 GB, free: 10.45 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.4383, allocations: 23.97 kB / 1.366 GB, free: 10.42 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.4383, allocations: 4 kB / 1.366 GB, free: 10.42 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4383, allocations: 0 / 1.366 GB, free: 10.42 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.44, allocations: 1.126 MB / 1.367 GB, free: 9.277 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.4401, allocations: 39.73 kB / 1.368 GB, free: 9.238 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.4401, allocations: 8 kB / 1.368 GB, free: 9.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.4404, allocations: 8 kB / 1.368 GB, free: 9.223 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4405, allocations: 51.92 kB / 1.368 GB, free: 9.172 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003675/0.4408, allocations: 279.4 kB / 1.368 GB, free: 8.898 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001853/0.441, allocations: 172.5 kB / 1.368 GB, free: 8.73 MB / 1.057 GB Notification: Performance of sort global known variables: time 9e-08/0.441, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004731/0.4415, allocations: 64 kB / 1.368 GB, free: 8.668 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001905/0.4417, allocations: 139.1 kB / 1.368 GB, free: 8.523 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.4428, allocations: 0.7289 MB / 1.369 GB, free: 7.797 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4428, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.4434, allocations: 391.8 kB / 1.369 GB, free: 7.414 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.4452, allocations: 383 kB / 1.37 GB, free: 7.074 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.4467, allocations: 0.9823 MB / 1.371 GB, free: 6.059 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.4469, allocations: 142.4 kB / 1.371 GB, free: 5.895 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002758/0.4472, allocations: 91.48 kB / 1.371 GB, free: 5.805 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.4474, allocations: 67.38 kB / 1.371 GB, free: 5.738 MB / 1.057 GB Notification: Performance of SimCode: time 4.31e-07/0.4474, allocations: 0 / 1.371 GB, free: 5.738 MB / 1.057 GB Notification: Performance of Templates: time 0.01846/0.4658, allocations: 9.8 MB / 1.38 GB, free: 12.17 MB / 1.073 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Sources.Examples.DayType.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_13_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_13_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.784269786439836]