Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 201.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 109.8 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 48.22 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2461, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series): time 0.0594/0.3056, allocations: 78.96 MB / 1.295 GB, free: 38.05 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.8613/1.167, allocations: 172.8 MB / 1.464 GB, free: 384 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006809/1.174, allocations: 116.1 kB / 1.464 GB, free: 384 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.005158/1.179, allocations: 1.207 MB / 1.465 GB, free: 372 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/1.193, allocations: 3.807 MB / 1.469 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.009605/1.202, allocations: 3.182 MB / 1.472 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.02783/1.23, allocations: 23.69 MB / 1.495 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/1.244, allocations: 9.027 MB / 1.504 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01941/1.264, allocations: 5.646 MB / 1.51 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/1.277, allocations: 5.813 MB / 1.515 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.003724/1.281, allocations: 0.5091 MB / 1.516 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.291, allocations: 2.396 MB / 1.518 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.005996/1.297, allocations: 1.913 MB / 1.52 GB, free: 6.965 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01131/1.309, allocations: 4.456 MB / 1.524 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02008/1.329, allocations: 14.83 MB / 1.539 GB, free: 12.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.329, allocations: 0 / 1.539 GB, free: 12.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/1.329, allocations: 4 kB / 1.539 GB, free: 12.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005075/1.33, allocations: 0 / 1.539 GB, free: 12.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.02777/1.357, allocations: 9.689 MB / 1.548 GB, free: 5.23 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.357, allocations: 15.98 kB / 1.548 GB, free: 5.215 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01825/1.376, allocations: 2.822 MB / 1.551 GB, free: 2.379 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/1.393, allocations: 8.061 MB / 1.559 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003665/1.393, allocations: 0.4929 MB / 1.559 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/1.395, allocations: 0.6515 MB / 1.56 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/1.417, allocations: 9.57 MB / 1.569 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/1.418, allocations: 11.84 kB / 1.569 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/1.419, allocations: 287 kB / 1.57 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002398/1.419, allocations: 296.8 kB / 1.57 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/1.443, allocations: 9.213 MB / 1.579 GB, free: 5.664 MB / 0.9792 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.06607/1.509, allocations: 32.91 MB / 1.611 GB, free: 3.895 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.525, allocations: 6.229 MB / 1.617 GB, free: 13.62 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008268/1.533, allocations: 3.17 MB / 1.62 GB, free: 10.45 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/1.536, allocations: 2.44 MB / 1.623 GB, free: 7.547 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009687/1.546, allocations: 3.232 MB / 1.626 GB, free: 4.289 MB / 1.026 GB Notification: Performance of pre-optimization done (n=427): time 8.236e-06/1.546, allocations: 0 / 1.626 GB, free: 4.289 MB / 1.026 GB Notification: Performance of matching and sorting (n=427): time 0.02607/1.572, allocations: 8.24 MB / 1.634 GB, free: 12.03 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/1.572, allocations: 227.3 kB / 1.634 GB, free: 11.76 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/1.585, allocations: 5.401 MB / 1.639 GB, free: 6.355 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001655/1.586, allocations: 109.7 kB / 1.639 GB, free: 6.242 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.004434/1.591, allocations: 3.373 MB / 1.643 GB, free: 2.852 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.002603/1.593, allocations: 1.441 MB / 1.644 GB, free: 1.422 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004048/1.597, allocations: 0.9207 MB / 1.645 GB, free: 500 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/1.598, allocations: 305.2 kB / 1.645 GB, free: 192 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007666/1.605, allocations: 2.609 MB / 1.648 GB, free: 13.56 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008995/1.614, allocations: 3.56 MB / 1.651 GB, free: 9.625 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/1.63, allocations: 6.248 MB / 1.657 GB, free: 3.035 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.075e-05/1.631, allocations: 5.594 kB / 1.657 GB, free: 3.031 MB / 1.057 GB Notification: Performance of matching and sorting (n=580) (initialization): time 0.021/1.652, allocations: 6.997 MB / 1.664 GB, free: 12.02 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/1.652, allocations: 16.22 kB / 1.664 GB, free: 12 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/1.652, allocations: 28 kB / 1.664 GB, free: 11.97 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.482e-05/1.652, allocations: 44 kB / 1.664 GB, free: 11.93 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006897/1.659, allocations: 1.236 MB / 1.666 GB, free: 10.69 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/1.659, allocations: 63.8 kB / 1.666 GB, free: 10.63 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008182/1.667, allocations: 0.7885 MB / 1.666 GB, free: 9.836 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/1.668, allocations: 223.9 kB / 1.667 GB, free: 9.617 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01311/1.682, allocations: 4.495 MB / 1.671 GB, free: 5.109 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008927/1.691, allocations: 3.549 MB / 1.674 GB, free: 1.191 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01609/1.707, allocations: 6.248 MB / 1.681 GB, free: 10.6 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.045e-05/1.707, allocations: 8 kB / 1.681 GB, free: 10.59 MB / 1.089 GB Notification: Performance of matching and sorting (n=580) (initialization_lambda0): time 0.02222/1.729, allocations: 6.993 MB / 1.687 GB, free: 3.582 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/1.729, allocations: 12 kB / 1.687 GB, free: 3.57 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.425e-05/1.729, allocations: 24 kB / 1.687 GB, free: 3.547 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.305e-05/1.729, allocations: 48 kB / 1.687 GB, free: 3.5 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007091/1.736, allocations: 1.252 MB / 1.689 GB, free: 2.25 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001192/1.736, allocations: 59.8 kB / 1.689 GB, free: 2.191 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008093/1.745, allocations: 0.6693 MB / 1.689 GB, free: 1.52 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.746, allocations: 227.9 kB / 1.69 GB, free: 1.297 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 580 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002403/1.748, allocations: 469.9 kB / 1.69 GB, free: 0.832 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003029/1.751, allocations: 0.6097 MB / 1.691 GB, free: 220 kB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/1.774, allocations: 7.311 MB / 1.698 GB, free: 8.863 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.613e-05/1.774, allocations: 48 kB / 1.698 GB, free: 8.816 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.146e-05/1.774, allocations: 0 / 1.698 GB, free: 8.816 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01777/1.792, allocations: 5.523 MB / 1.703 GB, free: 3.254 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0485/1.841, allocations: 14.98 MB / 1.718 GB, free: 4.195 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.989e-05/1.841, allocations: 4 kB / 1.718 GB, free: 4.191 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006606/1.847, allocations: 1.073 MB / 1.719 GB, free: 3.117 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/1.847, allocations: 27.94 kB / 1.719 GB, free: 3.09 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001111/1.849, allocations: 147.9 kB / 1.719 GB, free: 2.945 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.212e-05/1.849, allocations: 20 kB / 1.719 GB, free: 2.926 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/1.849, allocations: 11.94 kB / 1.719 GB, free: 2.914 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5541/2.403, allocations: 131.7 MB / 1.848 GB, free: 14.35 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005459/2.408, allocations: 1.476 MB / 1.849 GB, free: 12.85 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002757/2.411, allocations: 91.98 kB / 1.849 GB, free: 12.76 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007619/2.419, allocations: 0.5029 MB / 1.85 GB, free: 12.25 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/2.42, allocations: 286.8 kB / 1.85 GB, free: 11.97 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001216/2.421, allocations: 203.8 kB / 1.85 GB, free: 11.77 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.00864/2.43, allocations: 3.877 MB / 1.854 GB, free: 7.906 MB / 1.26 GB Notification: Performance of sort global known variables: time 5.71e-07/2.43, allocations: 0 / 1.854 GB, free: 7.906 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.02906/2.459, allocations: 5.613 MB / 1.86 GB, free: 2.281 MB / 1.26 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 (452): * Single equations (assignments): 442 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003937/2.463, allocations: 1.214 MB / 1.861 GB, free: 1.34 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.02828/2.491, allocations: 9.667 MB / 1.87 GB, free: 7.684 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 2.086e-05/2.491, allocations: 8.938 kB / 1.87 GB, free: 7.672 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.009388/2.501, allocations: 3.073 MB / 1.873 GB, free: 4.602 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02048/2.521, allocations: 3.263 MB / 1.876 GB, free: 1.398 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5346/3.056, allocations: 21.08 MB / 1.897 GB, free: 0.5216 GB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007495/3.063, allocations: 4.584 MB / 1.901 GB, free: 0.5208 GB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01802/3.081, allocations: 3.327 MB / 1.905 GB, free: 0.5206 GB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005549/3.087, allocations: 0.7174 MB / 1.905 GB, free: 0.5206 GB / 1.292 GB Notification: Performance of SimCode: time 1.753e-06/3.087, allocations: 0 / 1.905 GB, free: 0.5206 GB / 1.292 GB Notification: Performance of Templates: time 0.238/3.325, allocations: 194.9 MB / 2.096 GB, free: 378.2 MB / 1.292 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.pipe 2>&1)