Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.301/2.301, allocations: 248.7 MB / 256.2 MB, free: 7.059 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.001452/0.001452, allocations: 184.8 kB / 315.4 MB, free: 4.004 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.674/2.674, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001094/0.001093, allocations: 102.4 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.082e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1973, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.038/8.235, allocations: 2.475 GB / 3.359 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/8.235, allocations: 90.3 kB / 3.359 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.187/12.42, allocations: 0.8999 GB / 4.259 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/12.42, allocations: 0 / 4.259 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0008455/12.42, allocations: 135.7 kB / 4.259 GB, free: 8.512 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.01713/12.44, allocations: 4.261 MB / 4.263 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/12.44, allocations: 12.03 kB / 4.263 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/12.45, allocations: 1.243 MB / 4.264 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6804/13.13, allocations: 5.363 MB / 4.269 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003538/13.13, allocations: 118.1 kB / 4.27 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/13.14, allocations: 224.3 kB / 4.27 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01589/13.15, allocations: 4.355 MB / 4.274 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/13.17, allocations: 4.459 MB / 4.278 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/13.17, allocations: 8.312 kB / 4.278 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001499/13.17, allocations: 11.98 kB / 4.278 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/13.17, allocations: 172.8 kB / 4.279 GB, free: 126 MB / 0.8698 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.05547/13.23, allocations: 18.56 MB / 4.297 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009112/13.24, allocations: 3.066 MB / 4.3 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004619/13.24, allocations: 1.59 MB / 4.301 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003038/13.25, allocations: 1.866 MB / 4.303 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006015/13.25, allocations: 1.74 MB / 4.305 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=264): time 9.718e-06/13.25, allocations: 0 / 4.305 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264): time 0.1305/13.38, allocations: 7.311 MB / 4.312 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/13.38, allocations: 285.7 kB / 4.312 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007923/13.39, allocations: 2.991 MB / 4.315 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009674/13.39, allocations: 35.28 kB / 4.315 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003018/13.39, allocations: 1.972 MB / 4.317 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001846/13.4, allocations: 0.8669 MB / 4.318 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005286/13.4, allocations: 0 / 4.318 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002752/13.4, allocations: 419.4 kB / 4.318 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/13.4, allocations: 1.296 MB / 4.32 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/13.4, allocations: 1.959 MB / 4.321 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3414/13.75, allocations: 13.17 MB / 4.334 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.023e-05/13.75, allocations: 3.688 kB / 4.334 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.3496/14.1, allocations: 15.22 MB / 4.349 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001517/14.1, allocations: 7.29 MB / 4.356 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.773e-05/14.1, allocations: 19.75 kB / 4.356 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/14.1, allocations: 113.6 kB / 4.356 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007733/14.11, allocations: 0.8038 MB / 4.357 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/14.11, allocations: 1.508 MB / 4.359 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008062/14.12, allocations: 449.3 kB / 4.359 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/14.12, allocations: 145.5 kB / 4.359 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/14.12, allocations: 3.812 kB / 4.359 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4457/14.56, allocations: 14.85 MB / 4.374 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.319e-05/14.56, allocations: 17.5 kB / 4.374 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/14.57, allocations: 112.6 kB / 4.374 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/14.58, allocations: 0.8015 MB / 4.375 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/14.58, allocations: 1.505 MB / 4.376 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/14.59, allocations: 404.3 kB / 4.377 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/14.59, allocations: 144.8 kB / 4.377 GB, free: 102.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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.002592/14.6, allocations: 175.4 kB / 4.377 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1816/14.78, allocations: 7.308 MB / 4.384 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002782/14.78, allocations: 359 kB / 4.384 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1812/14.96, allocations: 8.037 MB / 4.392 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.739e-05/14.96, allocations: 37.41 kB / 4.392 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/14.96, allocations: 0 / 4.392 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1513/15.11, allocations: 7.25 MB / 4.399 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1493/15.26, allocations: 12.49 MB / 4.411 GB, free: 99.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.288e-05/15.26, allocations: 4.375 kB / 4.411 GB, free: 99.65 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007067/15.27, allocations: 0.6293 MB / 4.412 GB, free: 99.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009333/15.27, allocations: 93.52 kB / 4.412 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009711/15.27, allocations: 64.8 kB / 4.412 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/15.27, allocations: 1.506 MB / 4.414 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/15.27, allocations: 9.25 kB / 4.414 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1468/15.42, allocations: 9.919 MB / 4.423 GB, free: 96.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006142/15.43, allocations: 1.041 MB / 4.424 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/15.43, allocations: 13.59 kB / 4.424 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/15.44, allocations: 267.9 kB / 4.425 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/15.44, allocations: 183.9 kB / 4.425 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001017/15.44, allocations: 131 kB / 4.425 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.008603/15.45, allocations: 2.298 MB / 4.427 GB, free: 96.47 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.723e-06/15.45, allocations: 0 / 4.427 GB, free: 96.47 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01226/15.46, allocations: 2.331 MB / 4.43 GB, free: 96.09 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (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) * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.1381/15.6, allocations: 12.93 MB / 4.442 GB, free: 93.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01526/15.62, allocations: 5.319 MB / 4.447 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/15.62, allocations: 3.156 kB / 4.447 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005094/15.62, allocations: 1.68 MB / 4.449 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/15.64, allocations: 1.736 MB / 4.451 GB, free: 92.52 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03183/15.67, allocations: 8.861 MB / 4.459 GB, free: 90.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005823/15.67, allocations: 3.126 MB / 4.462 GB, free: 89.63 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01915/15.69, allocations: 2.729 MB / 4.465 GB, free: 88.97 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006377/15.7, allocations: 1.804 MB / 4.467 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of SimCode: time 1.072e-06/15.7, allocations: 0 / 4.467 GB, free: 88.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2821/15.98, allocations: 115.1 MB / 4.579 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004546/15.98, allocations: 183.2 kB / 4.579 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/23.72, allocations: 0 / 4.579 GB, free: 8.984 MB / 0.8855 GB