Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001193, allocations: 186.8 kB / 326.5 MB, free: 2.238 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.159/2.159, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 112.9 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 13.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.05526/0.3062, allocations: 66.66 MB / 0.9652 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8465/1.153, allocations: 148.4 MB / 1.11 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007505/1.16, allocations: 103.4 kB / 1.11 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00605/1.166, allocations: 1.207 MB / 1.111 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01708/1.184, allocations: 3.648 MB / 1.115 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01192/1.195, allocations: 2.923 MB / 1.118 GB, free: 456 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01939/1.215, allocations: 10.4 MB / 1.128 GB, free: 24 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01482/1.23, allocations: 7.275 MB / 1.135 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01468/1.245, allocations: 4.417 MB / 1.139 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/1.257, allocations: 3.647 MB / 1.143 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003911/1.261, allocations: 269.9 kB / 1.143 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/1.272, allocations: 1.509 MB / 1.145 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00405/1.277, allocations: 1.387 MB / 1.146 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.005248/1.282, allocations: 1.656 MB / 1.148 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01797/1.3, allocations: 11.51 MB / 1.159 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/1.3, allocations: 0 / 1.159 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.438e-06/1.3, allocations: 1.859 kB / 1.159 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006997/1.301, allocations: 0 / 1.159 GB, free: 3.223 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1719 * Number of variables: 1719 Notification: Performance of Generate backend data structure: time 0.02602/1.327, allocations: 7.775 MB / 1.167 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.327, allocations: 10.31 kB / 1.167 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005174/1.332, allocations: 0.8895 MB / 1.167 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/1.353, allocations: 2.906 MB / 1.17 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02228/1.375, allocations: 7.091 MB / 1.177 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/1.376, allocations: 496.2 kB / 1.178 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/1.379, allocations: 0.6436 MB / 1.178 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03248/1.412, allocations: 9.272 MB / 1.187 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002785/1.412, allocations: 15.78 kB / 1.187 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002941/1.415, allocations: 282.8 kB / 1.188 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003777/1.415, allocations: 292 kB / 1.188 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02958/1.445, allocations: 9.088 MB / 1.197 GB, free: 11.81 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.08028/1.525, allocations: 32.68 MB / 1.229 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01796/1.543, allocations: 6.337 MB / 1.235 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003514/1.547, allocations: 2.467 MB / 1.237 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01075/1.558, allocations: 3.075 MB / 1.24 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=424): time 9.648e-06/1.558, allocations: 0 / 1.24 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=424): time 0.02886/1.587, allocations: 7.981 MB / 1.248 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/1.587, allocations: 227.2 kB / 1.248 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/1.6, allocations: 5.597 MB / 1.254 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001513/1.602, allocations: 101.7 kB / 1.254 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/1.606, allocations: 3.337 MB / 1.257 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00338/1.61, allocations: 1.436 MB / 1.259 GB, free: 4.984 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/1.61, allocations: 92 kB / 1.259 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0005312/1.611, allocations: 483.6 kB / 1.259 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007396/1.618, allocations: 2.468 MB / 1.262 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009853/1.628, allocations: 3.492 MB / 1.265 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009823/1.638, allocations: 2.926 MB / 1.268 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-05/1.638, allocations: 8 kB / 1.268 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02413/1.662, allocations: 6.774 MB / 1.274 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005779/1.668, allocations: 12.88 MB / 1.287 GB, free: 6.688 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/1.668, allocations: 28 kB / 1.287 GB, free: 6.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/1.668, allocations: 56 kB / 1.287 GB, free: 6.605 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/1.676, allocations: 1.26 MB / 1.288 GB, free: 5.344 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/1.676, allocations: 71.73 kB / 1.288 GB, free: 5.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009766/1.686, allocations: 0.8253 MB / 1.289 GB, free: 4.445 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.688, allocations: 223.9 kB / 1.289 GB, free: 4.227 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.688, allocations: 6.344 kB / 1.289 GB, free: 4.223 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02302/1.711, allocations: 6.24 MB / 1.295 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.711, allocations: 29.86 kB / 1.296 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.382e-05/1.711, allocations: 52 kB / 1.296 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007911/1.719, allocations: 1.256 MB / 1.297 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000143/1.72, allocations: 63.8 kB / 1.297 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009591/1.729, allocations: 0.7723 MB / 1.298 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.731, allocations: 223.9 kB / 1.298 GB, free: 11.58 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (569): * Single equations (assignments): 569 * 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.007899/1.739, allocations: 2.17 MB / 1.3 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003236/1.742, allocations: 0.5981 MB / 1.301 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/1.767, allocations: 7.135 MB / 1.307 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.923e-05/1.767, allocations: 48 kB / 1.308 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/1.767, allocations: 0 / 1.308 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0195/1.787, allocations: 5.355 MB / 1.313 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04709/1.834, allocations: 14.72 MB / 1.327 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/1.834, allocations: 16 kB / 1.327 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00691/1.841, allocations: 1.026 MB / 1.328 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.629e-05/1.841, allocations: 24 kB / 1.328 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001573/1.843, allocations: 147.8 kB / 1.328 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.17e-05/1.843, allocations: 27.98 kB / 1.328 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/1.843, allocations: 11.94 kB / 1.328 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03147/1.874, allocations: 10.93 MB / 1.339 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006581/1.881, allocations: 1.597 MB / 1.341 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003264/1.884, allocations: 95.98 kB / 1.341 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008369/1.892, allocations: 0.5152 MB / 1.341 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/1.894, allocations: 278.8 kB / 1.341 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001335/1.895, allocations: 199.8 kB / 1.342 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01054/1.906, allocations: 4.026 MB / 1.346 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.857e-06/1.906, allocations: 0 / 1.346 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01882/1.925, allocations: 3.539 MB / 1.349 GB, free: 6.543 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (448): * Single equations (assignments): 438 * 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.03396/1.959, allocations: 13.65 MB / 1.362 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02858/1.987, allocations: 9.316 MB / 1.371 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.831e-05/1.987, allocations: 2.031 kB / 1.371 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.009219/1.997, allocations: 2.994 MB / 1.374 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01956/2.016, allocations: 3.14 MB / 1.377 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6711/2.687, allocations: 74.91 MB / 1.451 GB, free: 326.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008872/2.696, allocations: 4.534 MB / 1.455 GB, free: 324.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01648/2.713, allocations: 3 MB / 1.458 GB, free: 324.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007395/2.72, allocations: 3.274 MB / 1.461 GB, free: 322.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.212e-06/2.72, allocations: 2.25 kB / 1.461 GB, free: 322.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2627/2.983, allocations: 181.2 MB / 1.638 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/2.983, allocations: 238.6 kB / 1.638 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/11.03, allocations: 4 kB / 1.638 GB, free: 155.7 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)