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.001333/0.001333, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001668, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.72/1.72, allocations: 251.9 MB / 0.51 GB, free: 4.898 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.000526/0.000526, allocations: 23.42 kB / 0.6241 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6322/0.6328, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001895/0.6347, allocations: 1.118 MB / 0.7291 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007298/0.6355, allocations: 267.2 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.6355, allocations: 0 / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.6357, allocations: 15.91 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.6357, allocations: 15.92 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.6361, allocations: 77.47 kB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.6363, allocations: 144.2 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.6364, allocations: 17.09 kB / 0.7296 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.6365, allocations: 75.81 kB / 0.7296 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.6367, allocations: 103.7 kB / 0.7297 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.6368, allocations: 8 kB / 0.7298 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/0.6368, allocations: 8 kB / 0.7298 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.6369, allocations: 83.78 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.637, allocations: 57.58 kB / 0.7299 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.6372, allocations: 181.6 kB / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6373, allocations: 0 / 0.7301 GB, free: 9.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6373, allocations: 3.938 kB / 0.7301 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.6373, allocations: 0 / 0.7301 GB, free: 9.289 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.001267/0.6386, allocations: 0.6199 MB / 0.7307 GB, free: 8.594 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6386, allocations: 15.97 kB / 0.7307 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.6387, allocations: 23.72 kB / 0.7307 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.639, allocations: 265.5 kB / 0.731 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.6391, allocations: 12.28 kB / 0.731 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.6391, allocations: 16 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.6397, allocations: 454.8 kB / 0.7314 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.6398, allocations: 7.938 kB / 0.7314 GB, free: 7.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.6398, allocations: 11.98 kB / 0.7314 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.6398, allocations: 4 kB / 0.7314 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.6402, allocations: 319.7 kB / 0.7318 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007633/0.641, allocations: 0.5663 MB / 0.7323 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.6423, allocations: 1.031 MB / 0.7333 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.6424, allocations: 12 kB / 0.7333 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007104/0.6431, allocations: 479 kB / 0.7338 GB, free: 5.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=37): time 1.923e-06/0.6431, allocations: 4 kB / 0.7338 GB, free: 5.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=37): time 0.001686/0.6448, allocations: 1.102 MB / 0.7349 GB, free: 4.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.6449, allocations: 132.5 kB / 0.735 GB, free: 3.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.6452, allocations: 260.9 kB / 0.7352 GB, free: 3.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.6453, allocations: 33.7 kB / 0.7353 GB, free: 3.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.6454, allocations: 129.1 kB / 0.7354 GB, free: 3.527 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.6454, allocations: 82.98 kB / 0.7355 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.6456, allocations: 8 kB / 0.7355 GB, free: 3.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.6458, allocations: 342.8 kB / 0.7358 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.6462, allocations: 324.7 kB / 0.7361 GB, free: 2.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.6466, allocations: 426.4 kB / 0.7365 GB, free: 2.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.6471, allocations: 363.8 kB / 0.7369 GB, free: 1.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6471, allocations: 0 / 0.7369 GB, free: 1.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001031/0.6481, allocations: 0.8322 MB / 0.7377 GB, free: 1.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.6482, allocations: 6.5 kB / 0.7377 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6482, allocations: 4 kB / 0.7377 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6482, allocations: 8.125 kB / 0.7377 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.6484, allocations: 39.91 kB / 0.7377 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6484, allocations: 7.984 kB / 0.7377 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.6486, allocations: 24.34 kB / 0.7378 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/0.649, allocations: 275.7 kB / 0.738 GB, free: 0.7773 MB / 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 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,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],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.6493, allocations: 189.6 kB / 0.7382 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.6493, allocations: 39.55 kB / 0.7383 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.6494, allocations: 34.19 kB / 0.7383 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6494, allocations: 4 kB / 0.7383 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.6495, allocations: 4 kB / 0.7383 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6495, allocations: 7.984 kB / 0.7383 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.6516, allocations: 1.718 MB / 0.74 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6516, allocations: 4 kB / 0.74 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.6517, allocations: 15.98 kB / 0.74 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.6517, allocations: 11.98 kB / 0.74 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.6517, allocations: 15.98 kB / 0.74 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.6517, allocations: 7.938 kB / 0.74 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6517, allocations: 0 / 0.74 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.6529, allocations: 1.149 MB / 0.7412 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.6531, allocations: 104.7 kB / 0.7413 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.6532, allocations: 15.95 kB / 0.7413 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.6534, allocations: 8 kB / 0.7413 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6535, allocations: 56 kB / 0.7413 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/0.6538, allocations: 291.3 kB / 0.7416 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001422/0.654, allocations: 168.5 kB / 0.7418 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.654, allocations: 4 kB / 0.7418 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004543/0.6545, allocations: 63.98 kB / 0.7418 GB, free: 12.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.6546, allocations: 127.2 kB / 0.742 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00091/0.6555, allocations: 0.7299 MB / 0.7427 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6556, allocations: 0 / 0.7427 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.6562, allocations: 407.8 kB / 0.7431 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.6575, allocations: 311.8 kB / 0.7434 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6589, allocations: 1.023 MB / 0.7444 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.6592, allocations: 0.7608 MB / 0.7451 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.6595, allocations: 94.92 kB / 0.7452 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.6596, allocations: 67.38 kB / 0.7452 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6597, allocations: 0 / 0.7452 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of Templates: time 0.01215/0.6718, allocations: 8.137 MB / 0.7532 GB, free: 1.164 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Sources.Examples.DayType.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: