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.389/2.389, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001497/0.001497, allocations: 184.9 kB / 315.4 MB, free: 3.988 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.022/2.022, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 97.08 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.116e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2292, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8981/1.127, allocations: 132.3 MB / 1.013 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.128, allocations: 76.64 kB / 1.013 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08805/1.216, allocations: 18.72 MB / 1.032 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.313e-06/1.216, allocations: 0 / 1.032 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.21e-05/1.216, allocations: 4 kB / 1.032 GB, free: 7.355 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.001279/1.217, allocations: 0.5978 MB / 1.032 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.217, allocations: 12.03 kB / 1.032 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/1.217, allocations: 35.58 kB / 1.032 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/1.218, allocations: 243.2 kB / 1.033 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/1.218, allocations: 11.98 kB / 1.033 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/1.218, allocations: 8 kB / 1.033 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006069/1.219, allocations: 313.2 kB / 1.033 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/1.219, allocations: 438.6 kB / 1.033 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.219, allocations: 3.984 kB / 1.033 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/1.219, allocations: 7.984 kB / 1.033 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/1.219, allocations: 4 kB / 1.033 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/1.22, allocations: 0.5144 MB / 1.034 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.222, allocations: 1.002 MB / 1.035 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/1.223, allocations: 0.6394 MB / 1.035 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/1.223, allocations: 15.94 kB / 1.035 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008418/1.224, allocations: 467.9 kB / 1.036 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 2.815e-06/1.224, allocations: 0 / 1.036 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001622/1.226, allocations: 0.7627 MB / 1.037 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/1.226, allocations: 140.5 kB / 1.037 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/1.226, allocations: 220.8 kB / 1.037 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/1.226, allocations: 25.7 kB / 1.037 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.226, allocations: 129.1 kB / 1.037 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/1.226, allocations: 70.39 kB / 1.037 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/1.226, allocations: 0 / 1.037 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.227, allocations: 341.2 kB / 1.037 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/1.227, allocations: 320.8 kB / 1.038 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/1.228, allocations: 406.1 kB / 1.038 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/1.229, allocations: 350.7 kB / 1.039 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.229, allocations: 4 kB / 1.039 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001578/1.23, allocations: 0.785 MB / 1.039 GB, free: 308 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.23, allocations: 9.031 kB / 1.039 GB, free: 300 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/1.23, allocations: 4.125 kB / 1.039 GB, free: 296 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.23, allocations: 8 kB / 1.039 GB, free: 288 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/1.231, allocations: 46.83 kB / 1.039 GB, free: 248 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/1.231, allocations: 8 kB / 1.039 GB, free: 240 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/1.231, allocations: 15.78 kB / 1.039 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/1.231, allocations: 215.6 kB / 1.04 GB, free: 12 kB / 0.6511 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.0002164/1.232, allocations: 138 kB / 1.04 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001519/1.233, allocations: 0.7687 MB / 1.04 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/1.233, allocations: 27.62 kB / 1.04 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/1.233, allocations: 33.05 kB / 1.041 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.233, allocations: 11.94 kB / 1.041 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.234, allocations: 3.984 kB / 1.041 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.234, allocations: 0 / 1.041 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/1.236, allocations: 1.639 MB / 1.042 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.236, allocations: 4 kB / 1.042 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/1.237, allocations: 27.41 kB / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.237, allocations: 4 kB / 1.042 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/1.237, allocations: 17.98 kB / 1.042 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.237, allocations: 0 / 1.042 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.237, allocations: 15.94 kB / 1.042 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/1.238, allocations: 1.123 MB / 1.043 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.239, allocations: 100.7 kB / 1.043 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/1.239, allocations: 6.875 kB / 1.043 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/1.239, allocations: 0 / 1.043 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.239, allocations: 50.86 kB / 1.043 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/1.24, allocations: 223.4 kB / 1.044 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000222/1.24, allocations: 165.2 kB / 1.044 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.91e-07/1.24, allocations: 0 / 1.044 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007346/1.241, allocations: 55.98 kB / 1.044 GB, free: 12.02 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.002309/1.243, allocations: 1.909 MB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001495/1.244, allocations: 0.701 MB / 1.046 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.245, allocations: 0 / 1.046 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/1.245, allocations: 397.4 kB / 1.047 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.248, allocations: 311 kB / 1.047 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/1.25, allocations: 0.9064 MB / 1.048 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/1.251, allocations: 0.7608 MB / 1.049 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005252/1.251, allocations: 99.22 kB / 1.049 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/1.252, allocations: 120.7 kB / 1.049 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of SimCode: time 9.62e-07/1.252, allocations: 0 / 1.049 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06024/1.312, allocations: 9.772 MB / 1.058 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/1.312, allocations: 134.8 kB / 1.059 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.915, allocations: 0 / 1.059 GB, free: 13.37 MB / 0.6823 GB