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.526/2.526, allocations: 285 MB / 292.5 MB, free: 10.5 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.001445/0.001445, allocations: 180.9 kB / 360.7 MB, free: 7.211 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 1.958/1.958, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001021/0.00102, allocations: 86.47 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.471e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.848, allocations: 115.2 MB / 0.9634 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/1.087, allocations: 137.7 MB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.087, allocations: 69.98 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1309/1.218, allocations: 18.74 MB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.734e-06/1.218, allocations: 0.6875 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.206e-05/1.218, allocations: 4.719 kB / 1.116 GB, free: 40 kB / 0.7136 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.001305/1.22, allocations: 0.5926 MB / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.22, allocations: 13.22 kB / 1.117 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.22, allocations: 23.72 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/1.22, allocations: 248 kB / 1.117 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/1.22, allocations: 11.98 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/1.221, allocations: 16.5 kB / 1.117 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006475/1.221, allocations: 305 kB / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/1.222, allocations: 437.6 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.222, allocations: 0 / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/1.222, allocations: 12.73 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.222, allocations: 0 / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/1.223, allocations: 0.5147 MB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/1.225, allocations: 1.004 MB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.227, allocations: 0.647 MB / 1.12 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/1.227, allocations: 8 kB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009316/1.228, allocations: 458.2 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.986e-06/1.228, allocations: 0 / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001721/1.229, allocations: 0.7634 MB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.23, allocations: 144.5 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/1.23, allocations: 224.4 kB / 1.122 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/1.23, allocations: 25.7 kB / 1.122 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/1.23, allocations: 124.9 kB / 1.122 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/1.23, allocations: 69.05 kB / 1.122 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/1.23, allocations: 0 / 1.122 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.23, allocations: 342.8 kB / 1.122 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/1.231, allocations: 324.7 kB / 1.122 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006961/1.232, allocations: 401.6 kB / 1.123 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/1.233, allocations: 356.8 kB / 1.123 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/1.233, allocations: 4 kB / 1.123 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001675/1.234, allocations: 0.7832 MB / 1.124 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.234, allocations: 8 kB / 1.124 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.234, allocations: 4.125 kB / 1.124 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.234, allocations: 8 kB / 1.124 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/1.235, allocations: 47.77 kB / 1.124 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.235, allocations: 8 kB / 1.124 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/1.235, allocations: 9.5 kB / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000431/1.236, allocations: 214.6 kB / 1.124 GB, free: 7.645 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.0002266/1.236, allocations: 142.2 kB / 1.124 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.129e-05/1.236, allocations: 31.61 kB / 1.124 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/1.236, allocations: 29.97 kB / 1.124 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/1.236, allocations: 8 kB / 1.124 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.236, allocations: 4 kB / 1.124 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.236, allocations: 3.984 kB / 1.124 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/1.239, allocations: 1.649 MB / 1.126 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.239, allocations: 4 kB / 1.126 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-05/1.239, allocations: 19.92 kB / 1.126 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.239, allocations: 4 kB / 1.126 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/1.24, allocations: 19.97 kB / 1.126 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/1.24, allocations: 2.5 kB / 1.126 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.24, allocations: 4 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/1.241, allocations: 1.121 MB / 1.127 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.242, allocations: 104.7 kB / 1.127 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.242, allocations: 11.94 kB / 1.127 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/1.242, allocations: 3.953 kB / 1.127 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/1.243, allocations: 51.88 kB / 1.127 GB, free: 4.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000643/1.243, allocations: 226 kB / 1.127 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003358/1.244, allocations: 160.5 kB / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.82e-07/1.244, allocations: 0 / 1.128 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001086/1.245, allocations: 48 kB / 1.128 GB, free: 3.91 MB / 0.7292 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.0003179/1.245, allocations: 126.3 kB / 1.128 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002129/1.247, allocations: 0.7182 MB / 1.129 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.247, allocations: 0 / 1.129 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.248, allocations: 399.8 kB / 1.129 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/1.251, allocations: 302.2 kB / 1.129 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/1.253, allocations: 0.8457 MB / 1.13 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/1.254, allocations: 0.7608 MB / 1.131 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005675/1.254, allocations: 103.1 kB / 1.131 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/1.254, allocations: 67.38 kB / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/1.254, allocations: 0 / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of Templates: time 0.02106/1.276, allocations: 7.492 MB / 1.138 GB, free: 9.219 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)