Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 248.5 MB / 261.1 MB, free: 5.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001514, allocations: 174.4 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001039, allocations: 88.75 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.456e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8962/1.107, allocations: 132.1 MB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/1.107, allocations: 71.27 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08695/1.194, allocations: 18.82 MB / 1.038 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.874e-06/1.194, allocations: 0 / 1.038 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.563e-05/1.194, allocations: 8 kB / 1.038 GB, free: 3.328 MB / 0.6511 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.001288/1.195, allocations: 0.5989 MB / 1.039 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/1.196, allocations: 8.031 kB / 1.039 GB, free: 2.664 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/1.196, allocations: 49.36 kB / 1.039 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.265e-05/1.196, allocations: 35.52 kB / 1.039 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/1.196, allocations: 243.4 kB / 1.039 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.196, allocations: 11.59 kB / 1.039 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/1.196, allocations: 18.62 kB / 1.039 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/1.197, allocations: 457.7 kB / 1.039 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.197, allocations: 0 / 1.039 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/1.197, allocations: 11.86 kB / 1.039 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.197, allocations: 4 kB / 1.039 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006737/1.198, allocations: 326 kB / 1.04 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009784/1.199, allocations: 0.5525 MB / 1.04 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/1.201, allocations: 1.016 MB / 1.041 GB, free: 216 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.202, allocations: 0.6621 MB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/1.202, allocations: 4 kB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009174/1.203, allocations: 481 kB / 1.042 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 3.317e-06/1.203, allocations: 0 / 1.042 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001777/1.205, allocations: 0.7897 MB / 1.043 GB, free: 14.56 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.205, allocations: 147.9 kB / 1.043 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/1.206, allocations: 224.4 kB / 1.044 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/1.206, allocations: 35.33 kB / 1.044 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/1.206, allocations: 128.4 kB / 1.044 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/1.206, allocations: 75.94 kB / 1.044 GB, free: 14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/1.206, allocations: 11.56 kB / 1.044 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.206, allocations: 341 kB / 1.044 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/1.207, allocations: 330 kB / 1.044 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/1.208, allocations: 414 kB / 1.045 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/1.208, allocations: 365.7 kB / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.208, allocations: 0 / 1.045 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001761/1.21, allocations: 0.8206 MB / 1.046 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.21, allocations: 8 kB / 1.046 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.21, allocations: 4 kB / 1.046 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/1.21, allocations: 4 kB / 1.046 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/1.211, allocations: 42.47 kB / 1.046 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.211, allocations: 7.984 kB / 1.046 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/1.211, allocations: 20.12 kB / 1.046 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/1.212, allocations: 211.1 kB / 1.046 GB, free: 11.76 MB / 0.6667 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.0002376/1.212, allocations: 161.6 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/1.212, allocations: 27.62 kB / 1.046 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/1.212, allocations: 36.45 kB / 1.046 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.212, allocations: 8 kB / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.212, allocations: 0 / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.212, allocations: 3.984 kB / 1.046 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/1.215, allocations: 1.698 MB / 1.048 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.215, allocations: 0 / 1.048 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/1.215, allocations: 23.34 kB / 1.048 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/1.215, allocations: 4 kB / 1.048 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/1.215, allocations: 18.91 kB / 1.048 GB, free: 9.973 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.215, allocations: 8 kB / 1.048 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.216, allocations: 3.953 kB / 1.048 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.217, allocations: 1.145 MB / 1.049 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.217, allocations: 104.7 kB / 1.049 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/1.218, allocations: 10.94 kB / 1.049 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/1.218, allocations: 7.062 kB / 1.049 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/1.218, allocations: 48.5 kB / 1.049 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004297/1.219, allocations: 226.7 kB / 1.05 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002541/1.219, allocations: 172.6 kB / 1.05 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.219, allocations: 4 kB / 1.05 GB, free: 8.375 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006743/1.22, allocations: 65.19 kB / 1.05 GB, free: 8.324 MB / 0.6667 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.00232/1.222, allocations: 1.933 MB / 1.052 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001581/1.224, allocations: 0.7326 MB / 1.053 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.224, allocations: 4.25 kB / 1.053 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/1.224, allocations: 410.4 kB / 1.053 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/1.227, allocations: 313.2 kB / 1.053 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/1.229, allocations: 0.9267 MB / 1.054 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/1.23, allocations: 0.7569 MB / 1.055 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005583/1.231, allocations: 99.47 kB / 1.055 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.231, allocations: 118 kB / 1.055 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.833e-06/1.231, allocations: 0 / 1.055 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/1.276, allocations: 10.4 MB / 1.065 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003408/1.276, allocations: 149.5 kB / 1.065 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.906, allocations: 0 / 1.065 GB, free: 9.043 MB / 0.6823 GB