Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.51/2.51, allocations: 248.7 MB / 256.2 MB, free: 6.965 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.001577/0.001576, allocations: 174.7 kB / 315.4 MB, free: 4.035 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.172/2.172, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 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.001055/0.001055, allocations: 89.73 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.184e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2009, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.039/8.24, allocations: 2.475 GB / 3.359 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/8.24, allocations: 99.17 kB / 3.359 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.13/23.37, allocations: 2.751 GB / 6.11 GB, free: 93.61 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.325e-06/23.37, allocations: 0 / 6.11 GB, free: 93.61 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002808/23.37, allocations: 373.6 kB / 6.111 GB, free: 93.56 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.05211/23.42, allocations: 12.03 MB / 6.123 GB, free: 89.14 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/23.42, allocations: 7.812 kB / 6.123 GB, free: 89.14 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0306/23.45, allocations: 3.013 MB / 6.125 GB, free: 88.32 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07631/23.53, allocations: 18.04 MB / 6.143 GB, free: 86.71 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008413/23.53, allocations: 355.3 kB / 6.143 GB, free: 86.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005916/23.54, allocations: 0.645 MB / 6.144 GB, free: 86.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04138/23.58, allocations: 12.83 MB / 6.157 GB, free: 86.65 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05384/23.63, allocations: 14.21 MB / 6.17 GB, free: 84.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006825/23.63, allocations: 41.2 kB / 6.171 GB, free: 84.97 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005009/23.64, allocations: 22.28 kB / 6.171 GB, free: 84.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000678/23.64, allocations: 0.5586 MB / 6.171 GB, free: 84.95 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1925/23.83, allocations: 60.83 MB / 6.23 GB, free: 53.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03405/23.86, allocations: 9.232 MB / 6.239 GB, free: 49.72 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01825/23.88, allocations: 4.911 MB / 6.244 GB, free: 47.81 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005777/23.89, allocations: 2.383 MB / 6.247 GB, free: 45.32 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02143/23.91, allocations: 4.937 MB / 6.251 GB, free: 43.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=704): time 2.449e-05/23.91, allocations: 0 / 6.251 GB, free: 43.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=704): time 0.3896/24.3, allocations: 17.52 MB / 6.269 GB, free: 30.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/24.3, allocations: 359.9 kB / 6.269 GB, free: 29.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04088/24.34, allocations: 9.458 MB / 6.278 GB, free: 21.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.003085/24.34, allocations: 29.7 kB / 6.278 GB, free: 21.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01477/24.36, allocations: 6.176 MB / 6.284 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007117/24.37, allocations: 2.355 MB / 6.286 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003065/24.37, allocations: 0 / 6.286 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.001446/24.37, allocations: 0.6517 MB / 6.287 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01706/24.39, allocations: 3.984 MB / 6.291 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02051/24.41, allocations: 6.195 MB / 6.297 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.578/25.99, allocations: 28.63 MB / 6.325 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/25.99, allocations: 19.92 kB / 6.325 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.7149/26.7, allocations: 34.63 MB / 6.359 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.007485/26.71, allocations: 35.49 MB / 6.394 GB, free: 70.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002876/26.71, allocations: 66.06 kB / 6.394 GB, free: 70.83 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/26.71, allocations: 198.9 kB / 6.394 GB, free: 70.82 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02236/26.73, allocations: 2.35 MB / 6.396 GB, free: 70.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/26.74, allocations: 1.609 MB / 6.398 GB, free: 69.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02384/26.76, allocations: 1.316 MB / 6.399 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/26.76, allocations: 425.8 kB / 6.399 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/26.76, allocations: 7.875 kB / 6.399 GB, free: 69.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7054/27.47, allocations: 33.6 MB / 6.432 GB, free: 67.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003165/27.47, allocations: 68.98 kB / 6.432 GB, free: 67.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/27.47, allocations: 195.3 kB / 6.432 GB, free: 67.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02279/27.49, allocations: 2.347 MB / 6.435 GB, free: 67.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/27.5, allocations: 1.613 MB / 6.436 GB, free: 66.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02338/27.52, allocations: 1.15 MB / 6.437 GB, free: 66.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/27.52, allocations: 426.9 kB / 6.438 GB, free: 66.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1095): * Single equations (assignments): 1094 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006221/27.53, allocations: 330.1 kB / 6.438 GB, free: 66.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3263/27.85, allocations: 17.51 MB / 6.455 GB, free: 64.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008423/27.86, allocations: 1.001 MB / 6.456 GB, free: 64.38 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2815/28.14, allocations: 19.04 MB / 6.475 GB, free: 63.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/28.15, allocations: 72.88 kB / 6.475 GB, free: 63.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/28.15, allocations: 3.125 kB / 6.475 GB, free: 63.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2635/28.41, allocations: 16.96 MB / 6.491 GB, free: 62.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3179/28.73, allocations: 32.35 MB / 6.523 GB, free: 59.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/28.73, allocations: 9.562 kB / 6.523 GB, free: 59.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0188/28.75, allocations: 1.71 MB / 6.525 GB, free: 59.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/28.75, allocations: 121.9 kB / 6.525 GB, free: 59.91 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002224/28.75, allocations: 161.8 kB / 6.525 GB, free: 59.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/28.75, allocations: 1.532 MB / 6.526 GB, free: 58.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-05/28.75, allocations: 21.88 kB / 6.526 GB, free: 58.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2789/29.03, allocations: 26.38 MB / 6.552 GB, free: 53.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01326/29.04, allocations: 2.887 MB / 6.555 GB, free: 52.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006168/29.05, allocations: 44.91 kB / 6.555 GB, free: 52.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02159/29.07, allocations: 0.7015 MB / 6.556 GB, free: 52.62 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002317/29.07, allocations: 452.2 kB / 6.556 GB, free: 52.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001685/29.08, allocations: 350.9 kB / 6.557 GB, free: 52.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01993/29.1, allocations: 7.243 MB / 6.564 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.322e-06/29.1, allocations: 3.875 kB / 6.564 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.03856/29.13, allocations: 6.827 MB / 6.57 GB, free: 46.94 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.2888/29.42, allocations: 30.06 MB / 6.6 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.04428/29.47, allocations: 15.45 MB / 6.615 GB, free: 18.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.051e-05/29.47, allocations: 11.22 kB / 6.615 GB, free: 18.38 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/29.48, allocations: 4.436 MB / 6.619 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05078/29.53, allocations: 5.849 MB / 6.625 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/29.64, allocations: 28.94 MB / 6.653 GB, free: 7.461 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0219/29.67, allocations: 8.642 MB / 6.661 GB, free: 1.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.08346/29.75, allocations: 10.8 MB / 6.672 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02076/29.77, allocations: 5.665 MB / 6.678 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of SimCode: time 2.876e-06/29.77, allocations: 0 / 6.678 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.528/31.3, allocations: 322.9 MB / 6.993 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003255/31.3, allocations: 194.1 kB / 6.993 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.24/51.54, allocations: 0 / 6.993 GB, free: 13.44 MB / 0.9792 GB