Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.209/2.209, allocations: 248.7 MB / 256.2 MB, free: 7 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.001467/0.001467, allocations: 177.2 kB / 315.4 MB, free: 3.996 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.056/2.056, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 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.001023/0.001023, allocations: 84.58 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.64e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2072, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.238/7.445, allocations: 2.228 GB / 3.112 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/7.446, allocations: 94.25 kB / 3.112 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.559/15, allocations: 1.4 GB / 4.513 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.006e-06/15, allocations: 0 / 4.513 GB, free: 68.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0009901/15.01, allocations: 131.8 kB / 4.513 GB, free: 68.03 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02272/15.03, allocations: 5.523 MB / 4.518 GB, free: 62.44 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/15.03, allocations: 8.031 kB / 4.518 GB, free: 62.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01903/15.05, allocations: 1.613 MB / 4.52 GB, free: 60.81 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02189/15.07, allocations: 5.23 MB / 4.525 GB, free: 55.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/15.07, allocations: 116 kB / 4.525 GB, free: 55.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/15.07, allocations: 220 kB / 4.525 GB, free: 55.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01486/15.09, allocations: 4.431 MB / 4.53 GB, free: 50.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/15.1, allocations: 4.598 MB / 4.534 GB, free: 45.99 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/15.1, allocations: 7.938 kB / 4.534 GB, free: 45.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001879/15.11, allocations: 8 kB / 4.534 GB, free: 45.98 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/15.11, allocations: 167.3 kB / 4.534 GB, free: 45.81 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.05202/15.16, allocations: 18.48 MB / 4.552 GB, free: 26.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007856/15.17, allocations: 3.278 MB / 4.555 GB, free: 23.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/15.17, allocations: 1.622 MB / 4.557 GB, free: 21.99 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003376/15.17, allocations: 2.529 MB / 4.56 GB, free: 18.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005239/15.18, allocations: 1.831 MB / 4.561 GB, free: 17.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=284): time 7.164e-06/15.18, allocations: 0 / 4.561 GB, free: 17.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=284): time 0.1316/15.31, allocations: 8.054 MB / 4.569 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/15.31, allocations: 287.3 kB / 4.569 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007701/15.32, allocations: 2.858 MB / 4.572 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/15.32, allocations: 33.7 kB / 4.572 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003229/15.32, allocations: 1.943 MB / 4.574 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002289/15.33, allocations: 0.9275 MB / 4.575 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006624/15.33, allocations: 0 / 4.575 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003417/15.33, allocations: 432.1 kB / 4.576 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/15.33, allocations: 1.333 MB / 4.577 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00537/15.34, allocations: 1.962 MB / 4.579 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3589/15.7, allocations: 13.35 MB / 4.592 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.129e-05/15.7, allocations: 4 kB / 4.592 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 1.054/16.75, allocations: 15.45 MB / 4.607 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001373/16.75, allocations: 6.446 MB / 4.613 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.713e-05/16.75, allocations: 17.84 kB / 4.613 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/16.75, allocations: 113.3 kB / 4.613 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008432/16.76, allocations: 0.7881 MB / 4.614 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/16.76, allocations: 2.103 MB / 4.616 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009083/16.77, allocations: 444.3 kB / 4.617 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/16.77, allocations: 167.3 kB / 4.617 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/16.77, allocations: 5.312 kB / 4.617 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.377/17.15, allocations: 15.08 MB / 4.631 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.875e-05/17.15, allocations: 15.44 kB / 4.631 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/17.15, allocations: 112.4 kB / 4.632 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007743/17.16, allocations: 0.7868 MB / 4.632 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/17.16, allocations: 1.503 MB / 4.634 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008487/17.17, allocations: 406.6 kB / 4.634 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/17.17, allocations: 158.3 kB / 4.634 GB, free: 129.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001409/17.17, allocations: 182.2 kB / 4.634 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1319/17.31, allocations: 8.069 MB / 4.642 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00219/17.31, allocations: 365.9 kB / 4.643 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1397/17.45, allocations: 8.958 MB / 4.651 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/17.45, allocations: 28.38 kB / 4.651 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/17.45, allocations: 0 / 4.651 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1338/17.58, allocations: 7.977 MB / 4.659 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1487/17.73, allocations: 13.34 MB / 4.672 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/17.73, allocations: 0 / 4.672 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006841/17.74, allocations: 0.6139 MB / 4.673 GB, free: 127 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/17.74, allocations: 465.4 kB / 4.673 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009461/17.74, allocations: 64.94 kB / 4.673 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007709/17.75, allocations: 7.506 MB / 4.681 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/17.75, allocations: 3.953 kB / 4.681 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1414/17.89, allocations: 10.42 MB / 4.691 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004678/17.9, allocations: 1.107 MB / 4.692 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/17.9, allocations: 10.92 kB / 4.692 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008109/17.91, allocations: 268.9 kB / 4.692 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/17.91, allocations: 188.3 kB / 4.692 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007914/17.91, allocations: 139.1 kB / 4.693 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006217/17.91, allocations: 2.192 MB / 4.695 GB, free: 119 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.61e-07/17.91, allocations: 3.188 kB / 4.695 GB, free: 119 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01644/17.93, allocations: 2.749 MB / 4.697 GB, free: 118.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.1438/18.07, allocations: 12.61 MB / 4.71 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0158/18.09, allocations: 5.53 MB / 4.715 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/18.09, allocations: 3.5 kB / 4.715 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005583/18.1, allocations: 1.881 MB / 4.717 GB, free: 116.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01404/18.11, allocations: 1.688 MB / 4.719 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03172/18.14, allocations: 9.099 MB / 4.728 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005839/18.15, allocations: 3.155 MB / 4.731 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02086/18.17, allocations: 3.324 MB / 4.734 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005541/18.17, allocations: 1.846 MB / 4.736 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.302e-06/18.17, allocations: 0 / 4.736 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2876/18.46, allocations: 120.6 MB / 4.853 GB, free: 44.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/18.46, allocations: 175 kB / 4.854 GB, free: 44.01 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/27.12, allocations: 0 / 4.854 GB, free: 44.01 MB / 0.8855 GB