Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001202/0.001203, allocations: 173 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001001, allocations: 98.78 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004252, allocations: 11.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2783, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.06744/0.3458, allocations: 66.68 MB / 1.045 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.877/1.223, allocations: 148.4 MB / 1.19 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006687/1.23, allocations: 101.7 kB / 1.19 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006044/1.236, allocations: 1.213 MB / 1.191 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01697/1.253, allocations: 3.648 MB / 1.194 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01161/1.264, allocations: 3.043 MB / 1.197 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01945/1.284, allocations: 10.42 MB / 1.208 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/1.297, allocations: 7.304 MB / 1.215 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01275/1.31, allocations: 4.432 MB / 1.219 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01021/1.32, allocations: 3.66 MB / 1.223 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003502/1.324, allocations: 272 kB / 1.223 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009999/1.334, allocations: 1.498 MB / 1.224 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.00398/1.338, allocations: 1.412 MB / 1.226 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0052/1.343, allocations: 1.657 MB / 1.227 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/1.361, allocations: 11.6 MB / 1.239 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.361, allocations: 4 kB / 1.239 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.866e-06/1.361, allocations: 0 / 1.239 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0006688/1.362, allocations: 0 / 1.239 GB, free: 14.99 MB / 0.7761 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.02772/1.39, allocations: 7.771 MB / 1.246 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/1.39, allocations: 8.031 kB / 1.246 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004218/1.394, allocations: 0.8985 MB / 1.247 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/1.413, allocations: 2.912 MB / 1.25 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02288/1.436, allocations: 7.112 MB / 1.257 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006833/1.437, allocations: 0.4894 MB / 1.257 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003058/1.44, allocations: 0.6366 MB / 1.258 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/1.474, allocations: 9.347 MB / 1.267 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004058/1.475, allocations: 17.83 kB / 1.267 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002732/1.477, allocations: 280 kB / 1.267 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003915/1.478, allocations: 288.5 kB / 1.268 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02957/1.507, allocations: 9.098 MB / 1.277 GB, free: 7.656 MB / 0.8073 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.07742/1.585, allocations: 32.74 MB / 1.309 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/1.604, allocations: 6.35 MB / 1.315 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003761/1.608, allocations: 2.469 MB / 1.317 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01045/1.618, allocations: 3.122 MB / 1.32 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=424): time 8.997e-06/1.618, allocations: 0 / 1.32 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.02697/1.645, allocations: 7.975 MB / 1.328 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/1.646, allocations: 227.2 kB / 1.328 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.657, allocations: 5.601 MB / 1.334 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001508/1.659, allocations: 105.7 kB / 1.334 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00381/1.663, allocations: 3.338 MB / 1.337 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002485/1.665, allocations: 1.436 MB / 1.338 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/1.666, allocations: 88 kB / 1.339 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003916/1.666, allocations: 491.7 kB / 1.339 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006554/1.672, allocations: 2.464 MB / 1.341 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007356/1.68, allocations: 3.488 MB / 1.345 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008061/1.688, allocations: 2.931 MB / 1.348 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.084e-05/1.688, allocations: 4 kB / 1.348 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02049/1.709, allocations: 6.77 MB / 1.354 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.005714/1.714, allocations: 12.89 MB / 1.367 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.766e-05/1.714, allocations: 28 kB / 1.367 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.537e-05/1.714, allocations: 52 kB / 1.367 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007357/1.722, allocations: 1.268 MB / 1.368 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000102/1.722, allocations: 63.8 kB / 1.368 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008342/1.73, allocations: 0.8241 MB / 1.369 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.732, allocations: 223.9 kB / 1.369 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.732, allocations: 4 kB / 1.369 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01592/1.748, allocations: 6.241 MB / 1.375 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.122e-05/1.748, allocations: 24 kB / 1.375 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-05/1.748, allocations: 59.88 kB / 1.375 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006564/1.754, allocations: 1.256 MB / 1.377 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/1.755, allocations: 67.78 kB / 1.377 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00788/1.762, allocations: 0.7723 MB / 1.377 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009165/1.763, allocations: 219.9 kB / 1.378 GB, free: 13.01 MB / 0.9167 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.005585/1.769, allocations: 2.171 MB / 1.38 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002073/1.771, allocations: 0.602 MB / 1.38 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.788, allocations: 7.147 MB / 1.387 GB, free: 3.027 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.054e-05/1.788, allocations: 48 kB / 1.387 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.788, allocations: 0 / 1.387 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01313/1.802, allocations: 5.354 MB / 1.393 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03683/1.838, allocations: 14.77 MB / 1.407 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.839, allocations: 8.875 kB / 1.407 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006289/1.845, allocations: 1.026 MB / 1.408 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-05/1.845, allocations: 24 kB / 1.408 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008533/1.846, allocations: 147.8 kB / 1.408 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.395e-05/1.846, allocations: 27.92 kB / 1.408 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/1.846, allocations: 11.94 kB / 1.408 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02689/1.873, allocations: 10.94 MB / 1.419 GB, free: 2.059 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005817/1.879, allocations: 1.616 MB / 1.421 GB, free: 424 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002285/1.881, allocations: 95.98 kB / 1.421 GB, free: 328 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007676/1.889, allocations: 0.5098 MB / 1.421 GB, free: 15.81 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/1.89, allocations: 278.8 kB / 1.421 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008032/1.891, allocations: 207.8 kB / 1.422 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008317/1.899, allocations: 4.034 MB / 1.426 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.31e-07/1.899, allocations: 0 / 1.426 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01717/1.916, allocations: 3.551 MB / 1.429 GB, free: 7.746 MB / 0.9636 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.9933/2.909, allocations: 13.64 MB / 1.442 GB, free: 341.3 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.02868/2.938, allocations: 9.318 MB / 1.451 GB, free: 338.4 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 2.131e-05/2.938, allocations: 4.344 kB / 1.451 GB, free: 338.4 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.009006/2.947, allocations: 2.991 MB / 1.454 GB, free: 337.4 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01728/2.965, allocations: 3.153 MB / 1.457 GB, free: 336.8 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1629/3.128, allocations: 74.93 MB / 1.531 GB, free: 283.7 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004839/3.132, allocations: 4.537 MB / 1.535 GB, free: 281.1 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.01477/3.147, allocations: 3.012 MB / 1.538 GB, free: 279.6 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006411/3.154, allocations: 3.281 MB / 1.541 GB, free: 276.6 MB / 0.9637 GB Notification: Performance of SimCode: time 1.202e-06/3.154, allocations: 0 / 1.541 GB, free: 276.6 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2348/3.389, allocations: 182 MB / 1.719 GB, free: 95.3 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/3.389, allocations: 241.9 kB / 1.719 GB, free: 95.06 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/11.34, allocations: 0 / 1.719 GB, free: 95.06 MB / 0.9637 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)