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.464/2.464, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002326/0.002326, allocations: 179 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.567/2.567, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001105/0.001105, allocations: 97.56 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004996, allocations: 12.5 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.4304, allocations: 132.1 MB / 1.028 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4307, allocations: 79.95 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08534/0.5161, allocations: 18.87 MB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5161, allocations: 0 / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.5162, allocations: 8 kB / 1.046 GB, free: 10.14 MB / 0.698 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.001385/0.5176, allocations: 0.6354 MB / 1.047 GB, free: 9.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5176, allocations: 8.031 kB / 1.047 GB, free: 9.418 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.5177, allocations: 46.55 kB / 1.047 GB, free: 9.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.5178, allocations: 31.67 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.5183, allocations: 249.7 kB / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.5183, allocations: 20.28 kB / 1.047 GB, free: 9.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.5184, allocations: 16 kB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/0.5193, allocations: 454.7 kB / 1.048 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5193, allocations: 0 / 1.048 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.5194, allocations: 7.984 kB / 1.048 GB, free: 8.547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5194, allocations: 4 kB / 1.048 GB, free: 8.543 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.52, allocations: 327.6 kB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009343/0.521, allocations: 0.5586 MB / 1.049 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.523, allocations: 1.029 MB / 1.05 GB, free: 6.539 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.523, allocations: 8.031 kB / 1.05 GB, free: 6.531 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009218/0.524, allocations: 482.7 kB / 1.05 GB, free: 6.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.855e-06/0.524, allocations: 0 / 1.05 GB, free: 6.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002483/0.5265, allocations: 1.108 MB / 1.051 GB, free: 4.922 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.5266, allocations: 140.5 kB / 1.051 GB, free: 4.754 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.527, allocations: 228 kB / 1.052 GB, free: 4.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.527, allocations: 41.7 kB / 1.052 GB, free: 4.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5271, allocations: 125.1 kB / 1.052 GB, free: 4.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.5273, allocations: 79 kB / 1.052 GB, free: 4.273 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.5273, allocations: 4 kB / 1.052 GB, free: 4.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5275, allocations: 350.8 kB / 1.052 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.5282, allocations: 324.7 kB / 1.052 GB, free: 3.598 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.5289, allocations: 422.5 kB / 1.053 GB, free: 3.152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.5297, allocations: 366 kB / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.5297, allocations: 0 / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001768/0.5315, allocations: 0.8251 MB / 1.054 GB, free: 1.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5316, allocations: 4 kB / 1.054 GB, free: 1.961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5316, allocations: 4 kB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.5316, allocations: 4 kB / 1.054 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.5319, allocations: 47.83 kB / 1.054 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.5319, allocations: 8.062 kB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.5324, allocations: 19.91 kB / 1.054 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/0.5328, allocations: 208.1 kB / 1.054 GB, free: 1.676 MB / 0.698 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.0003418/0.5331, allocations: 198 kB / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.5332, allocations: 31.61 kB / 1.054 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.5334, allocations: 38.12 kB / 1.055 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.5334, allocations: 4 kB / 1.055 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5334, allocations: 4 kB / 1.055 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5334, allocations: 7.922 kB / 1.055 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5804/1.114, allocations: 1.696 MB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.114, allocations: 1.812 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/1.114, allocations: 22.72 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.114, allocations: 3.156 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/1.114, allocations: 22.89 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/1.114, allocations: 3.875 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.114, allocations: 3.125 kB / 1.056 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/1.116, allocations: 1.155 MB / 1.057 GB, free: 154.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/1.116, allocations: 104.1 kB / 1.057 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/1.116, allocations: 11.91 kB / 1.057 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/1.116, allocations: 9.109 kB / 1.057 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.116, allocations: 51.89 kB / 1.058 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003539/1.117, allocations: 222.2 kB / 1.058 GB, free: 154.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002165/1.117, allocations: 173.1 kB / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.117, allocations: 0 / 1.058 GB, free: 154 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006789/1.118, allocations: 67.62 kB / 1.058 GB, free: 154 MB / 0.698 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.001915/1.12, allocations: 1.947 MB / 1.06 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.121, allocations: 0.7302 MB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.121, allocations: 0 / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/1.122, allocations: 409.4 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.124, allocations: 309.5 kB / 1.061 GB, free: 152.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/1.127, allocations: 2.97 MB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/1.128, allocations: 0.7719 MB / 1.065 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000566/1.128, allocations: 99.08 kB / 1.065 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/1.128, allocations: 116.2 kB / 1.065 GB, free: 150 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/1.128, allocations: 3.562 kB / 1.065 GB, free: 150 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/1.172, allocations: 10.33 MB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/1.172, allocations: 175.8 kB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.851, allocations: 1.422 kB / 1.075 GB, free: 148.2 MB / 0.698 GB