Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.616/2.616, allocations: 284.8 MB / 297.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.8 kB / 365.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.2 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 97.98 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.781e-05/5.797e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7887/0.7888, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2387/1.028, allocations: 138.4 MB / 1.105 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.028, allocations: 71.95 kB / 1.105 GB, free: 14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0872/1.115, allocations: 18.83 MB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.413e-06/1.115, allocations: 0 / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.235e-05/1.115, allocations: 4 kB / 1.124 GB, free: 11.24 MB / 0.7292 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.001313/1.116, allocations: 0.5972 MB / 1.124 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.117, allocations: 12.03 kB / 1.124 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/1.117, allocations: 24.53 kB / 1.124 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/1.117, allocations: 246.4 kB / 1.124 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/1.117, allocations: 17.45 kB / 1.124 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/1.117, allocations: 16 kB / 1.124 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/1.118, allocations: 462.4 kB / 1.125 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.118, allocations: 3.938 kB / 1.125 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/1.118, allocations: 5.219 kB / 1.125 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.118, allocations: 4 kB / 1.125 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/1.119, allocations: 319.8 kB / 1.125 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/1.12, allocations: 0.5611 MB / 1.126 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/1.122, allocations: 1.023 MB / 1.127 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/1.124, allocations: 0.6557 MB / 1.127 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/1.124, allocations: 4 kB / 1.127 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/1.125, allocations: 478.2 kB / 1.128 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.925e-06/1.125, allocations: 0 / 1.128 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001786/1.127, allocations: 0.7855 MB / 1.129 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.127, allocations: 132.5 kB / 1.129 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/1.127, allocations: 236.9 kB / 1.129 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/1.127, allocations: 33.7 kB / 1.129 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.127, allocations: 127.9 kB / 1.129 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/1.127, allocations: 75.05 kB / 1.129 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/1.127, allocations: 8 kB / 1.129 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.128, allocations: 346.8 kB / 1.13 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/1.128, allocations: 328.7 kB / 1.13 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/1.129, allocations: 418.5 kB / 1.13 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007769/1.13, allocations: 357.6 kB / 1.131 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.13, allocations: 4 kB / 1.131 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00178/1.132, allocations: 0.8132 MB / 1.131 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.132, allocations: 16.86 kB / 1.131 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.132, allocations: 3.938 kB / 1.131 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/1.132, allocations: 8 kB / 1.131 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/1.132, allocations: 39.97 kB / 1.131 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.132, allocations: 8 kB / 1.131 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/1.133, allocations: 23.83 kB / 1.131 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/1.133, allocations: 209.4 kB / 1.132 GB, free: 2.578 MB / 0.7292 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 () * 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.0002414/1.133, allocations: 161.1 kB / 1.132 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/1.133, allocations: 23.72 kB / 1.132 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/1.134, allocations: 37.95 kB / 1.132 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.134, allocations: 4 kB / 1.132 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.134, allocations: 7.25 kB / 1.132 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/1.134, allocations: 4 kB / 1.132 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/1.137, allocations: 1.691 MB / 1.134 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.137, allocations: 3.938 kB / 1.134 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/1.137, allocations: 23.97 kB / 1.134 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.137, allocations: 4 kB / 1.134 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/1.137, allocations: 19.97 kB / 1.134 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/1.137, allocations: 4 kB / 1.134 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.137, allocations: 3.938 kB / 1.134 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/1.139, allocations: 1.138 MB / 1.135 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/1.139, allocations: 108.6 kB / 1.135 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/1.139, allocations: 11.98 kB / 1.135 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/1.14, allocations: 11.09 kB / 1.135 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.14, allocations: 51.94 kB / 1.135 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000462/1.14, allocations: 227 kB / 1.135 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002783/1.141, allocations: 173.3 kB / 1.135 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.141, allocations: 0 / 1.135 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006935/1.141, allocations: 64 kB / 1.135 GB, free: 14.71 MB / 0.7448 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) * 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.0002542/1.142, allocations: 131.3 kB / 1.135 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.143, allocations: 0.7354 MB / 1.136 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.143, allocations: 4 kB / 1.136 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/1.144, allocations: 405 kB / 1.137 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.147, allocations: 310.9 kB / 1.137 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/1.149, allocations: 0.8704 MB / 1.138 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/1.15, allocations: 0.7569 MB / 1.138 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005703/1.15, allocations: 95.23 kB / 1.139 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/1.151, allocations: 71.38 kB / 1.139 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/1.151, allocations: 4 kB / 1.139 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.02169/1.172, allocations: 7.843 MB / 1.146 GB, free: 3.621 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)