Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001828, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 198 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.89/1.89, allocations: 251.7 MB / 0.5092 GB, free: 3.094 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001738, allocations: 75.84 kB / 0.6223 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8743/0.876, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.005752/0.8819, allocations: 1.415 MB / 0.7259 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.8833, allocations: 287.1 kB / 0.7262 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.8835, allocations: 4 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.8838, allocations: 15.86 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.884, allocations: 23.78 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.8848, allocations: 83.84 kB / 0.7263 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.8854, allocations: 228 kB / 0.7265 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.8855, allocations: 13.11 kB / 0.7265 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.8858, allocations: 79.83 kB / 0.7266 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.8861, allocations: 111.6 kB / 0.7267 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.8862, allocations: 16 kB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.8863, allocations: 16 kB / 0.7267 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.8865, allocations: 87.72 kB / 0.7268 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.8868, allocations: 107.4 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.8874, allocations: 245.2 kB / 0.7271 GB, free: 10.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.295e-05/0.8874, allocations: 4 kB / 0.7272 GB, free: 10.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.779e-06/0.8874, allocations: 3.984 kB / 0.7272 GB, free: 10.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.8875, allocations: 4 kB / 0.7272 GB, free: 10.2 MB / 0.545 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.002112/0.8896, allocations: 0.6901 MB / 0.7278 GB, free: 9.426 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.301e-05/0.8897, allocations: 8.031 kB / 0.7278 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.8899, allocations: 28.64 kB / 0.7279 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.8906, allocations: 270.7 kB / 0.7281 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.8906, allocations: 12.66 kB / 0.7281 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.8907, allocations: 20.36 kB / 0.7282 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.8917, allocations: 467.2 kB / 0.7286 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.8918, allocations: 192 / 0.7286 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.8918, allocations: 15.94 kB / 0.7286 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.8918, allocations: 4 kB / 0.7286 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000555/0.8924, allocations: 315.8 kB / 0.7289 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.8936, allocations: 0.5663 MB / 0.7295 GB, free: 7.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.8953, allocations: 1.035 MB / 0.7305 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009934/0.8963, allocations: 0.6594 MB / 0.7311 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.8964, allocations: 4 kB / 0.7311 GB, free: 5.883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.8974, allocations: 482.3 kB / 0.7316 GB, free: 5.387 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 4.699e-06/0.8974, allocations: 0 / 0.7316 GB, free: 5.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.002163/0.8996, allocations: 1.112 MB / 0.7327 GB, free: 4.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.8998, allocations: 148.4 kB / 0.7328 GB, free: 4.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.9003, allocations: 256.8 kB / 0.7331 GB, free: 3.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/0.9004, allocations: 37.7 kB / 0.7331 GB, free: 3.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.9006, allocations: 125.1 kB / 0.7332 GB, free: 3.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.9008, allocations: 78.94 kB / 0.7333 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.9011, allocations: 114.1 kB / 0.7334 GB, free: 3.469 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000389/0.9015, allocations: 338.8 kB / 0.7337 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.9021, allocations: 332.7 kB / 0.734 GB, free: 2.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.9029, allocations: 422.5 kB / 0.7344 GB, free: 2.355 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.9043, allocations: 0.7746 MB / 0.7352 GB, free: 1.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.9043, allocations: 0 / 0.7352 GB, free: 1.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001665/0.906, allocations: 0.8288 MB / 0.736 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.9061, allocations: 12.06 kB / 0.736 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.9061, allocations: 4 kB / 0.736 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.494e-05/0.9061, allocations: 4 kB / 0.736 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.9065, allocations: 47.83 kB / 0.7361 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.024e-05/0.9065, allocations: 7.938 kB / 0.7361 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.907, allocations: 27.75 kB / 0.7361 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005126/0.9075, allocations: 267.4 kB / 0.7364 GB, free: 356 kB / 0.545 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.000514/0.908, allocations: 193.9 kB / 0.7366 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.9081, allocations: 31.56 kB / 0.7366 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.9083, allocations: 42.23 kB / 0.7366 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.9083, allocations: 12 kB / 0.7366 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.9084, allocations: 0 / 0.7366 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.9084, allocations: 0 / 0.7366 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003507/0.9119, allocations: 1.726 MB / 0.7383 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9119, allocations: 4 kB / 0.7383 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.912, allocations: 19.91 kB / 0.7383 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.912, allocations: 4 kB / 0.7383 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.9121, allocations: 23.97 kB / 0.7384 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.9121, allocations: 4 kB / 0.7384 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9121, allocations: 0 / 0.7384 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.9139, allocations: 1.117 MB / 0.7395 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.9141, allocations: 104.7 kB / 0.7396 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/0.9142, allocations: 12 kB / 0.7396 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.9145, allocations: 11.98 kB / 0.7396 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.9147, allocations: 47.94 kB / 0.7396 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005075/0.9152, allocations: 275.5 kB / 0.7399 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002867/0.9155, allocations: 180.4 kB / 0.7401 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9155, allocations: 4 kB / 0.7401 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007256/0.9163, allocations: 67.98 kB / 0.7401 GB, free: 12.38 MB / 0.5606 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.0002899/0.9166, allocations: 131.2 kB / 0.7403 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.9181, allocations: 0.7612 MB / 0.741 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.9181, allocations: 0 / 0.741 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008209/0.919, allocations: 407.8 kB / 0.7414 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.9211, allocations: 368.6 kB / 0.7417 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.9234, allocations: 0.9824 MB / 0.7427 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009448/0.9243, allocations: 0.7452 MB / 0.7434 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005624/0.9249, allocations: 99.47 kB / 0.7435 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.9251, allocations: 75.31 kB / 0.7436 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of SimCode: time 8.586e-06/0.9251, allocations: 0 / 0.7436 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of Templates: time 0.02299/0.9481, allocations: 8.823 MB / 0.7522 GB, free: 92 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)