Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_8_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_8_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 193 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.4 MB / 0.6366 GB, free: 9.492 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.0008232, allocations: 93.98 kB / 0.7509 GB, free: 62.76 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 12 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2672, allocations: 116.3 MB / 0.9884 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6793/0.9465, allocations: 139.6 MB / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.9468, allocations: 74.78 kB / 1.125 GB, free: 35.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04497/0.9918, allocations: 18.88 MB / 1.143 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9919, allocations: 0.5625 kB / 1.143 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.9919, allocations: 8 kB / 1.143 GB, free: 21.43 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.0009071/0.9928, allocations: 0.6342 MB / 1.144 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9929, allocations: 12.81 kB / 1.144 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.9929, allocations: 47.83 kB / 1.144 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.993, allocations: 37.62 kB / 1.144 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.9933, allocations: 245.8 kB / 1.144 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.9933, allocations: 18.42 kB / 1.144 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.9934, allocations: 20.98 kB / 1.144 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.9939, allocations: 460.2 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9939, allocations: 1.719 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.994, allocations: 5.359 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.994, allocations: 4 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.9943, allocations: 323.4 kB / 1.145 GB, free: 19.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.9949, allocations: 0.5641 MB / 1.146 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.9958, allocations: 1.029 MB / 1.147 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.9959, allocations: 9.203 kB / 1.147 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/0.9964, allocations: 476.6 kB / 1.147 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.9964, allocations: 0 / 1.147 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001263/0.9977, allocations: 1.11 MB / 1.148 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.9977, allocations: 137.7 kB / 1.148 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.9979, allocations: 230.2 kB / 1.148 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.998, allocations: 42.55 kB / 1.148 GB, free: 16.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.998, allocations: 118 kB / 1.149 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.9981, allocations: 84.08 kB / 1.149 GB, free: 16.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.9981, allocations: 4 kB / 1.149 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.9982, allocations: 348.4 kB / 1.149 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.9985, allocations: 328.4 kB / 1.149 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.9989, allocations: 420.4 kB / 1.15 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.9993, allocations: 366.9 kB / 1.15 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9993, allocations: 0 / 1.15 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008342/1, allocations: 0.8346 MB / 1.151 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1, allocations: 4 kB / 1.151 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1, allocations: 4 kB / 1.151 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/1, allocations: 4 kB / 1.151 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1, allocations: 45.2 kB / 1.151 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1, allocations: 4.547 kB / 1.151 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/1.001, allocations: 21.52 kB / 1.151 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/1.001, allocations: 207.2 kB / 1.151 GB, free: 14.05 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 () * 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.0001694/1.001, allocations: 202.6 kB / 1.151 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/1.001, allocations: 29.36 kB / 1.151 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.798e-05/1.001, allocations: 36.77 kB / 1.151 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.001, allocations: 15.09 kB / 1.151 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.001, allocations: 0 / 1.151 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.001, allocations: 1.5 kB / 1.151 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/1.003, allocations: 1.698 MB / 1.153 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.003, allocations: 4 kB / 1.153 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/1.003, allocations: 22.45 kB / 1.153 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.003, allocations: 5.641 kB / 1.153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/1.003, allocations: 24.61 kB / 1.153 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.003, allocations: 4 kB / 1.153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.003, allocations: 0 / 1.153 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/1.004, allocations: 1.143 MB / 1.154 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/1.004, allocations: 105.4 kB / 1.154 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/1.004, allocations: 13.36 kB / 1.154 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/1.004, allocations: 9.406 kB / 1.154 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/1.004, allocations: 48.5 kB / 1.154 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/1.004, allocations: 220.5 kB / 1.155 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001318/1.005, allocations: 176.1 kB / 1.155 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.005, allocations: 0 / 1.155 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004302/1.005, allocations: 65.31 kB / 1.155 GB, free: 10.63 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) * 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.00114/1.006, allocations: 1.956 MB / 1.157 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007696/1.007, allocations: 0.7347 MB / 1.157 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.007, allocations: 1.219 kB / 1.158 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004382/1.007, allocations: 402.9 kB / 1.158 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.009, allocations: 305.2 kB / 1.158 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.011, allocations: 2.979 MB / 1.161 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/1.011, allocations: 0.7628 MB / 1.162 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003685/1.012, allocations: 96.28 kB / 1.162 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/1.012, allocations: 117.9 kB / 1.162 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/1.012, allocations: 4 kB / 1.162 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/1.036, allocations: 10.33 MB / 1.172 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/1.036, allocations: 171.8 kB / 1.172 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/3.065, allocations: 0 / 1.172 GB, free: 10.09 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8_Buildings.Controls.Sources.Examples.DayType.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Sources_Examples_DayType_fmu --startTime=-1.8144e+06 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Sources_Examples_DayType.fmu > Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)