Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.721/2.721, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001581/0.001581, allocations: 181.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.00121/0.00121, allocations: 99.89 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005259, allocations: 13.38 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03287/0.2442, allocations: 25.82 MB / 1.003 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9121/1.156, allocations: 135 MB / 1.135 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/1.16, allocations: 44.41 kB / 1.135 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004077/1.164, allocations: 0.519 MB / 1.136 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01135/1.175, allocations: 1.623 MB / 1.137 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01201/1.187, allocations: 1.63 MB / 1.139 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03427/1.222, allocations: 18 MB / 1.157 GB, free: 7.508 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02612/1.248, allocations: 11.54 MB / 1.168 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01735/1.265, allocations: 6.731 MB / 1.174 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01515/1.281, allocations: 5.751 MB / 1.18 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003779/1.284, allocations: 446.1 kB / 1.18 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/1.295, allocations: 1.158 MB / 1.182 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.006393/1.302, allocations: 2.238 MB / 1.184 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00742/1.309, allocations: 2.515 MB / 1.186 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02998/1.339, allocations: 16.58 MB / 1.202 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.339, allocations: 0 / 1.202 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.725e-06/1.339, allocations: 0 / 1.202 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007528/1.34, allocations: 0 / 1.202 GB, free: 3.926 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.04279/1.383, allocations: 11.33 MB / 1.213 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.383, allocations: 12.03 kB / 1.213 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/1.403, allocations: 2.214 MB / 1.216 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04757/1.451, allocations: 12.16 MB / 1.227 GB, free: 10 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/1.452, allocations: 0.6621 MB / 1.228 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00407/1.456, allocations: 0.8943 MB / 1.229 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05247/1.508, allocations: 14.14 MB / 1.243 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005224/1.509, allocations: 31.72 kB / 1.243 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003489/1.513, allocations: 392 kB / 1.243 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007111/1.513, allocations: 473.3 kB / 1.244 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05025/1.564, allocations: 12.73 MB / 1.256 GB, free: 12.23 MB / 0.7917 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.1536/1.717, allocations: 52.24 MB / 1.307 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04633/1.764, allocations: 8.345 MB / 1.315 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005372/1.769, allocations: 1.564 MB / 1.317 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02485/1.794, allocations: 4.283 MB / 1.321 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=553): time 1.796e-05/1.794, allocations: 0 / 1.321 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of matching and sorting (n=553): time 0.05405/1.848, allocations: 10.77 MB / 1.331 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002667/1.848, allocations: 295.6 kB / 1.332 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02605/1.874, allocations: 9.599 MB / 1.341 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001697/1.876, allocations: 145.6 kB / 1.341 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.008151/1.884, allocations: 4.99 MB / 1.346 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00387/1.888, allocations: 1.918 MB / 1.348 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008542/1.889, allocations: 136 kB / 1.348 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0006161/1.89, allocations: 0.5753 MB / 1.349 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01382/1.904, allocations: 3.585 MB / 1.352 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01697/1.921, allocations: 5.435 MB / 1.358 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/1.937, allocations: 4.588 MB / 1.362 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.458e-05/1.937, allocations: 12 kB / 1.362 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.03894/1.976, allocations: 10.15 MB / 1.372 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01264/1.989, allocations: 28.68 MB / 1.4 GB, free: 3.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/1.989, allocations: 56 kB / 1.4 GB, free: 3.395 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/1.989, allocations: 96 kB / 1.4 GB, free: 3.301 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/2.006, allocations: 1.814 MB / 1.402 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002339/2.006, allocations: 127.6 kB / 1.402 GB, free: 1.359 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01628/2.022, allocations: 1.237 MB / 1.403 GB, free: 116 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/2.025, allocations: 332.1 kB / 1.403 GB, free: 15.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/2.025, allocations: 4 kB / 1.403 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04867/2.073, allocations: 9.381 MB / 1.413 GB, free: 6.336 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/2.074, allocations: 52 kB / 1.413 GB, free: 6.285 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/2.074, allocations: 100.1 kB / 1.413 GB, free: 6.188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/2.091, allocations: 1.817 MB / 1.415 GB, free: 4.367 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002309/2.091, allocations: 123.6 kB / 1.415 GB, free: 4.246 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01563/2.106, allocations: 1.137 MB / 1.416 GB, free: 3.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/2.109, allocations: 327.9 kB / 1.416 GB, free: 2.781 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (867): * Single equations (assignments): 867 * 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.01433/2.123, allocations: 4.002 MB / 1.42 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006251/2.129, allocations: 0.8761 MB / 1.421 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05818/2.187, allocations: 8.831 MB / 1.429 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002216/2.188, allocations: 52 kB / 1.43 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.661e-05/2.188, allocations: 4 kB / 1.43 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328/3.516, allocations: 6.938 MB / 1.436 GB, free: 334.3 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07221/3.588, allocations: 19.62 MB / 1.455 GB, free: 327.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/3.588, allocations: 1.672 kB / 1.455 GB, free: 327.4 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01367/3.602, allocations: 1.29 MB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/3.602, allocations: 18.62 kB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001454/3.604, allocations: 179.8 kB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001112/3.604, allocations: 19.25 kB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/3.604, allocations: 1.656 kB / 1.457 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04848/3.652, allocations: 12.94 MB / 1.47 GB, free: 322.5 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00938/3.662, allocations: 2.387 MB / 1.472 GB, free: 321.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004119/3.666, allocations: 124.9 kB / 1.472 GB, free: 321.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01592/3.682, allocations: 0.7542 MB / 1.473 GB, free: 321.5 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001669/3.684, allocations: 323.5 kB / 1.473 GB, free: 321.5 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001832/3.686, allocations: 293 kB / 1.473 GB, free: 321.4 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02007/3.706, allocations: 6.804 MB / 1.48 GB, free: 319.1 MB / 0.9637 GB Notification: Performance of sort global known variables: time 9.12e-07/3.706, allocations: 0 / 1.48 GB, free: 319.1 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02578/3.732, allocations: 5.332 MB / 1.485 GB, free: 318.4 MB / 0.9637 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (569): * Single equations (assignments): 563 * 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.005195/3.737, allocations: 1.258 MB / 1.486 GB, free: 318 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04455/3.781, allocations: 13.28 MB / 1.499 GB, free: 312.1 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/3.781, allocations: 13.36 kB / 1.499 GB, free: 312.1 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/3.795, allocations: 3.813 MB / 1.503 GB, free: 310.3 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04156/3.836, allocations: 5.549 MB / 1.509 GB, free: 305.2 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06374/3.9, allocations: 27.2 MB / 1.535 GB, free: 278 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01259/3.913, allocations: 7.166 MB / 1.542 GB, free: 270.8 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.03484/3.948, allocations: 6.132 MB / 1.548 GB, free: 264.7 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005969/3.954, allocations: 0.8505 MB / 1.549 GB, free: 263.8 MB / 0.9637 GB Notification: Performance of SimCode: time 1.653e-06/3.954, allocations: 8 kB / 1.549 GB, free: 263.8 MB / 0.9637 GB Notification: Performance of Templates: time 0.4309/4.385, allocations: 194.1 MB / 1.739 GB, free: 70.36 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)