Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.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.Validation.FlatPlate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_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.481/2.481, allocations: 248.7 MB / 256.2 MB, free: 7.145 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.001519/0.001519, allocations: 184.4 kB / 315.4 MB, free: 4.016 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.272/2.272, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001106/0.001106, allocations: 87.8 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.223e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.207/8.426, allocations: 2.475 GB / 3.359 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/8.427, allocations: 93.27 kB / 3.359 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.91/19.34, allocations: 2.038 GB / 5.397 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.625e-06/19.34, allocations: 0 / 5.397 GB, free: 153.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002252/19.34, allocations: 302.8 kB / 5.397 GB, free: 153.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04085/19.38, allocations: 9.553 MB / 5.407 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/19.38, allocations: 11.28 kB / 5.407 GB, free: 150.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/19.4, allocations: 2.03 MB / 5.409 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05824/19.46, allocations: 14.66 MB / 5.423 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006292/19.46, allocations: 280.7 kB / 5.423 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004333/19.46, allocations: 0.5081 MB / 5.424 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03278/19.49, allocations: 10.26 MB / 5.434 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04211/19.54, allocations: 11.34 MB / 5.445 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005694/19.54, allocations: 34.17 kB / 5.445 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003656/19.54, allocations: 18.31 kB / 5.445 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005696/19.54, allocations: 469.7 kB / 5.445 GB, free: 135.3 MB / 0.8855 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.1177/19.66, allocations: 48.78 MB / 5.493 GB, free: 87.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0171/19.68, allocations: 7.392 MB / 5.5 GB, free: 79.72 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008961/19.69, allocations: 3.898 MB / 5.504 GB, free: 75.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/19.69, allocations: 1.5 MB / 5.505 GB, free: 74.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01015/19.7, allocations: 3.649 MB / 5.509 GB, free: 70.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 9.488e-06/19.7, allocations: 0 / 5.509 GB, free: 70.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.1423/19.84, allocations: 11.36 MB / 5.52 GB, free: 58.87 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/19.84, allocations: 343.1 kB / 5.52 GB, free: 58.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02115/19.86, allocations: 7.676 MB / 5.528 GB, free: 50.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001819/19.86, allocations: 33.7 kB / 5.528 GB, free: 50.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.008594/19.87, allocations: 4.888 MB / 5.533 GB, free: 45.83 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004388/19.88, allocations: 1.851 MB / 5.535 GB, free: 43.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001247/19.88, allocations: 0 / 5.535 GB, free: 43.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005941/19.88, allocations: 0.5831 MB / 5.535 GB, free: 43.36 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007405/19.89, allocations: 3.133 MB / 5.538 GB, free: 40.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009228/19.9, allocations: 4.964 MB / 5.543 GB, free: 34.47 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3502/20.25, allocations: 16.06 MB / 5.559 GB, free: 18.35 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.503e-05/20.25, allocations: 16 kB / 5.559 GB, free: 18.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 1.046/21.29, allocations: 20.72 MB / 5.579 GB, free: 149.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005925/21.3, allocations: 27.5 MB / 5.606 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002471/21.3, allocations: 53.25 kB / 5.606 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002897/21.3, allocations: 96.78 kB / 5.606 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01785/21.32, allocations: 1.832 MB / 5.608 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002456/21.32, allocations: 126.3 kB / 5.608 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/21.33, allocations: 1.008 MB / 5.609 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/21.34, allocations: 335.4 kB / 5.609 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/21.34, allocations: 5.812 kB / 5.609 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3749/21.71, allocations: 19.91 MB / 5.629 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002684/21.71, allocations: 53.03 kB / 5.629 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/21.71, allocations: 102 kB / 5.629 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01732/21.73, allocations: 1.837 MB / 5.631 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002057/21.73, allocations: 121 kB / 5.631 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/21.75, allocations: 0.8885 MB / 5.632 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/21.75, allocations: 338.2 kB / 5.632 GB, free: 120.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * 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.004155/21.75, allocations: 290.6 kB / 5.632 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1435/21.9, allocations: 11.35 MB / 5.643 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00458/21.9, allocations: 0.8016 MB / 5.644 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1971/22.1, allocations: 12.38 MB / 5.656 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.214e-05/22.1, allocations: 59.84 kB / 5.656 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/22.1, allocations: 4 kB / 5.656 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1874/22.29, allocations: 10.69 MB / 5.667 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1754/22.46, allocations: 22.63 MB / 5.689 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/22.46, allocations: 3.75 kB / 5.689 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01408/22.48, allocations: 1.317 MB / 5.69 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/22.48, allocations: 22.88 kB / 5.69 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001678/22.48, allocations: 118.6 kB / 5.69 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-05/22.48, allocations: 21.56 kB / 5.69 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/22.48, allocations: 0 / 5.69 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.151/22.63, allocations: 16.24 MB / 5.706 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009972/22.64, allocations: 2.303 MB / 5.708 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004262/22.64, allocations: 35.25 kB / 5.708 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01577/22.66, allocations: 0.6062 MB / 5.709 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/22.66, allocations: 329.6 kB / 5.709 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001162/22.66, allocations: 264.8 kB / 5.709 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01542/22.68, allocations: 5.879 MB / 5.715 GB, free: 115 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.11e-07/22.68, allocations: 0 / 5.715 GB, free: 115 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0309/22.71, allocations: 5.379 MB / 5.72 GB, free: 114.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.1541/22.86, allocations: 18.04 MB / 5.738 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02849/22.89, allocations: 11.98 MB / 5.75 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/22.89, allocations: 6.719 kB / 5.75 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007585/22.9, allocations: 3.394 MB / 5.753 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03944/22.94, allocations: 4.749 MB / 5.758 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07043/23.01, allocations: 22.31 MB / 5.779 GB, free: 98.69 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/23.02, allocations: 7.121 MB / 5.786 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.04851/23.07, allocations: 8.555 MB / 5.795 GB, free: 87.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01224/23.08, allocations: 4.328 MB / 5.799 GB, free: 83.77 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/23.08, allocations: 4 kB / 5.799 GB, free: 83.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.414/24.5, allocations: 251.6 MB / 6.045 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/24.5, allocations: 182.2 kB / 6.045 GB, free: 163.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/39.75, allocations: 0 / 6.045 GB, free: 163.5 MB / 0.9167 GB