Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.EN12975_Series,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",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.381/2.381, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001563/0.001563, allocations: 182.7 kB / 315.4 MB, free: 4 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.142/2.142, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001675/0.001675, allocations: 94.03 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.385e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.277/8.494, allocations: 2.475 GB / 3.36 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/8.495, allocations: 91.12 kB / 3.36 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.572/16.07, allocations: 1.434 GB / 4.793 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.425e-06/16.07, allocations: 0 / 4.793 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001237/16.07, allocations: 180.6 kB / 4.793 GB, free: 114.7 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: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.02786/16.1, allocations: 6.565 MB / 4.8 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/16.1, allocations: 8.031 kB / 4.8 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02695/16.12, allocations: 2.464 MB / 4.802 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0312/16.15, allocations: 7.842 MB / 4.81 GB, free: 97.85 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/16.15, allocations: 188 kB / 4.81 GB, free: 97.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002954/16.16, allocations: 344 kB / 4.81 GB, free: 97.33 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02267/16.18, allocations: 6.84 MB / 4.817 GB, free: 90.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/16.21, allocations: 6.965 MB / 4.824 GB, free: 83.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002192/16.21, allocations: 19.84 kB / 4.824 GB, free: 83.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/16.21, allocations: 8 kB / 4.824 GB, free: 83.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/16.21, allocations: 271.2 kB / 4.824 GB, free: 83 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.07866/16.29, allocations: 30.01 MB / 4.854 GB, free: 52.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/16.3, allocations: 5.074 MB / 4.858 GB, free: 47.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006958/16.31, allocations: 2.569 MB / 4.861 GB, free: 44.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003455/16.31, allocations: 2.408 MB / 4.863 GB, free: 41.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008239/16.32, allocations: 2.777 MB / 4.866 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=421): time 8.656e-06/16.32, allocations: 0 / 4.866 GB, free: 38.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=421): time 0.3555/16.68, allocations: 17.23 MB / 4.883 GB, free: 21.69 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/16.68, allocations: 385.4 kB / 4.883 GB, free: 21.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/16.69, allocations: 4.511 MB / 4.888 GB, free: 16.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001638/16.69, allocations: 29.7 kB / 4.888 GB, free: 16.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004774/16.69, allocations: 3.109 MB / 4.891 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/16.7, allocations: 1.362 MB / 4.892 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006766/16.7, allocations: 0 / 4.892 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004275/16.7, allocations: 487.6 kB / 4.892 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005906/16.7, allocations: 2.031 MB / 4.894 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00727/16.71, allocations: 2.988 MB / 4.897 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3507/17.06, allocations: 15.03 MB / 4.912 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.817e-05/17.06, allocations: 12 kB / 4.912 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=562) (initialization): time 1.08/18.14, allocations: 18.16 MB / 4.93 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00241/18.15, allocations: 10.57 MB / 4.94 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/18.15, allocations: 25.02 kB / 4.94 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/18.15, allocations: 46.06 kB / 4.94 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/18.16, allocations: 1.273 MB / 4.941 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001442/18.16, allocations: 58.94 kB / 4.942 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/18.17, allocations: 0.6739 MB / 4.942 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/18.18, allocations: 227 kB / 4.942 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/18.18, allocations: 5.031 kB / 4.942 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3705/18.55, allocations: 17.59 MB / 4.96 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.334e-05/18.55, allocations: 24.25 kB / 4.96 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.535e-05/18.55, allocations: 50.02 kB / 4.96 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01326/18.56, allocations: 1.267 MB / 4.961 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-05/18.56, allocations: 60.03 kB / 4.961 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/18.57, allocations: 0.6144 MB / 4.962 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/18.57, allocations: 224.3 kB / 4.962 GB, free: 124.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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.00192/18.58, allocations: 219.4 kB / 4.962 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3567/18.93, allocations: 17.21 MB / 4.979 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003335/18.94, allocations: 0.5493 MB / 4.979 GB, free: 123 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3632/19.3, allocations: 18.32 MB / 4.997 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/19.3, allocations: 47.47 kB / 4.997 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/19.3, allocations: 0 / 4.997 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3525/19.65, allocations: 16.86 MB / 5.014 GB, free: 120.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3791/20.03, allocations: 25.6 MB / 5.039 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/20.03, allocations: 7.281 kB / 5.039 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01186/20.04, allocations: 1.038 MB / 5.04 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/20.04, allocations: 28.08 kB / 5.04 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/20.04, allocations: 101.5 kB / 5.04 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.766e-05/20.04, allocations: 27.62 kB / 5.04 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/20.04, allocations: 10.53 kB / 5.04 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3698/20.41, allocations: 21.68 MB / 5.061 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006605/20.42, allocations: 1.595 MB / 5.063 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003066/20.42, allocations: 20.64 kB / 5.063 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01204/20.44, allocations: 421.9 kB / 5.063 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00133/20.44, allocations: 283.4 kB / 5.063 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001038/20.44, allocations: 197.2 kB / 5.063 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009287/20.45, allocations: 3.481 MB / 5.067 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.693e-06/20.45, allocations: 0 / 5.067 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0201/20.47, allocations: 3.486 MB / 5.07 GB, free: 114.9 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * 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.3678/20.84, allocations: 24.97 MB / 5.095 GB, free: 110.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.023/20.86, allocations: 8.028 MB / 5.103 GB, free: 107 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/20.86, allocations: 0.7812 kB / 5.103 GB, free: 107 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007463/20.87, allocations: 2.5 MB / 5.105 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0224/20.89, allocations: 2.555 MB / 5.107 GB, free: 104.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04536/20.93, allocations: 13 MB / 5.12 GB, free: 94.96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008611/20.94, allocations: 4.435 MB / 5.124 GB, free: 92.14 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03049/20.97, allocations: 3.833 MB / 5.128 GB, free: 89.72 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009381/20.98, allocations: 3.015 MB / 5.131 GB, free: 89.37 MB / 0.9011 GB Notification: Performance of SimCode: time 1.513e-06/20.98, allocations: 1.203 kB / 5.131 GB, free: 89.37 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.168/22.15, allocations: 169.6 MB / 5.297 GB, free: 166.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/22.15, allocations: 193.4 kB / 5.297 GB, free: 166.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/33.82, allocations: 0 / 5.297 GB, free: 166.6 MB / 0.948 GB