Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.253/2.253, allocations: 248.7 MB / 256.2 MB, free: 7.016 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.002895/0.002896, allocations: 184.5 kB / 315.4 MB, free: 4.008 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.068/2.068, allocations: 205.3 MB / 0.5662 GB, free: 0.5156 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.001137/0.001137, allocations: 90.67 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.569e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.315/7.539, allocations: 2.19 GB / 3.074 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/7.54, allocations: 87.52 kB / 3.074 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3792/7.919, allocations: 88.44 MB / 3.16 GB, free: 97.87 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.675e-06/7.919, allocations: 0 / 3.16 GB, free: 97.87 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001975/7.919, allocations: 47.94 kB / 3.16 GB, free: 97.82 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.004826/7.924, allocations: 1.629 MB / 3.162 GB, free: 96.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/7.924, allocations: 8.031 kB / 3.162 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/7.927, allocations: 377.4 kB / 3.162 GB, free: 95.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/7.93, allocations: 1.007 MB / 3.163 GB, free: 94.69 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/7.931, allocations: 44 kB / 3.163 GB, free: 94.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/7.931, allocations: 72 kB / 3.163 GB, free: 94.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004166/7.935, allocations: 1.863 MB / 3.165 GB, free: 92.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/7.938, allocations: 1.253 MB / 3.166 GB, free: 91.37 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/7.938, allocations: 0 / 3.166 GB, free: 91.37 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/7.938, allocations: 11.92 kB / 3.166 GB, free: 91.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/7.939, allocations: 36 kB / 3.166 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/7.949, allocations: 4.22 MB / 3.171 GB, free: 87.02 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002952/7.952, allocations: 1.26 MB / 3.172 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/7.953, allocations: 473 kB / 3.172 GB, free: 85.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/7.953, allocations: 61.17 kB / 3.172 GB, free: 85.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/7.955, allocations: 0.7037 MB / 3.173 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 4.518e-06/7.955, allocations: 4 kB / 3.173 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.004937/7.96, allocations: 1.244 MB / 3.174 GB, free: 83.22 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/7.96, allocations: 462.1 kB / 3.175 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/7.962, allocations: 0.9025 MB / 3.176 GB, free: 81.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004394/7.962, allocations: 29.7 kB / 3.176 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/7.963, allocations: 0.6023 MB / 3.176 GB, free: 81.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/7.964, allocations: 429.5 kB / 3.177 GB, free: 80.67 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/7.964, allocations: 4 kB / 3.177 GB, free: 80.67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/7.964, allocations: 353.9 kB / 3.177 GB, free: 80.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/7.965, allocations: 370.5 kB / 3.177 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/7.966, allocations: 0.5736 MB / 3.178 GB, free: 79.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/7.967, allocations: 486.5 kB / 3.178 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/7.967, allocations: 0 / 3.178 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004837/7.972, allocations: 1.263 MB / 3.18 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/7.972, allocations: 4 kB / 3.18 GB, free: 77.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/7.972, allocations: 7.984 kB / 3.18 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/7.974, allocations: 161.8 kB / 3.18 GB, free: 77.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/7.976, allocations: 275.6 kB / 3.18 GB, free: 77.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/7.981, allocations: 2.93 MB / 3.183 GB, free: 73.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/7.984, allocations: 119.1 kB / 3.183 GB, free: 73.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/7.984, allocations: 51.97 kB / 3.183 GB, free: 73.77 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004485/7.985, allocations: 148.3 kB / 3.183 GB, free: 73.62 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006573/7.991, allocations: 1.242 MB / 3.184 GB, free: 72.37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/7.992, allocations: 142.2 kB / 3.184 GB, free: 72.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007058/7.999, allocations: 1.809 MB / 3.186 GB, free: 70.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/7.999, allocations: 16 kB / 3.186 GB, free: 70.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/7.999, allocations: 4 kB / 3.186 GB, free: 70.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.422e-05/7.999, allocations: 11.97 kB / 3.186 GB, free: 70.37 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/8.002, allocations: 1.304 MB / 3.188 GB, free: 69.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/8.002, allocations: 0 / 3.188 GB, free: 69.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/8.004, allocations: 283.6 kB / 3.188 GB, free: 68.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/8.006, allocations: 169.5 kB / 3.188 GB, free: 68.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/8.007, allocations: 31.97 kB / 3.188 GB, free: 68.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/8.011, allocations: 2.977 MB / 3.191 GB, free: 65.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/8.011, allocations: 0 / 3.191 GB, free: 65.33 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/8.017, allocations: 1.477 MB / 3.192 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/8.018, allocations: 470.8 kB / 3.193 GB, free: 63.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/8.018, allocations: 4 kB / 3.193 GB, free: 63.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/8.02, allocations: 107.9 kB / 3.193 GB, free: 63.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/8.021, allocations: 117.4 kB / 3.193 GB, free: 63.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/8.021, allocations: 59.97 kB / 3.193 GB, free: 63.06 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001424/8.023, allocations: 0.7075 MB / 3.194 GB, free: 62.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.81e-07/8.023, allocations: 3.938 kB / 3.194 GB, free: 62.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002445/8.025, allocations: 482.6 kB / 3.194 GB, free: 61.87 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009008/8.034, allocations: 3.107 MB / 3.197 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005941/8.04, allocations: 1.266 MB / 3.199 GB, free: 57.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/8.04, allocations: 7.906 kB / 3.199 GB, free: 57.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/8.044, allocations: 0.8488 MB / 3.199 GB, free: 56.67 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003606/8.047, allocations: 440.6 kB / 3.2 GB, free: 56.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/8.059, allocations: 2.711 MB / 3.202 GB, free: 53.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000947/8.06, allocations: 1.308 MB / 3.204 GB, free: 52.13 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003168/8.064, allocations: 0.495 MB / 3.204 GB, free: 51.63 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/8.065, allocations: 0.6515 MB / 3.205 GB, free: 50.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.183e-06/8.065, allocations: 0 / 3.205 GB, free: 50.98 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/8.189, allocations: 38.91 MB / 3.243 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/8.19, allocations: 194.7 kB / 3.243 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.518/12.71, allocations: 0 / 3.243 GB, free: 12.04 MB / 0.8698 GB