Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.255/2.255, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 169.2 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.704/2.704, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 90.88 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006454, allocations: 11.12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2074, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.06488/0.2723, allocations: 45.64 MB / 0.9435 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9099/1.182, allocations: 142 MB / 1.082 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005625/1.188, allocations: 75.41 kB / 1.082 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.006651/1.195, allocations: 0.9025 MB / 1.083 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01724/1.212, allocations: 2.728 MB / 1.086 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0154/1.227, allocations: 2.336 MB / 1.088 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.05673/1.284, allocations: 35.13 MB / 1.122 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05232/1.337, allocations: 22.31 MB / 1.144 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03406/1.371, allocations: 13.08 MB / 1.157 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03062/1.401, allocations: 11.17 MB / 1.168 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.007307/1.409, allocations: 0.8359 MB / 1.169 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/1.429, allocations: 1.811 MB / 1.17 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.01133/1.44, allocations: 4.208 MB / 1.174 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01489/1.455, allocations: 4.862 MB / 1.179 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.05349/1.509, allocations: 31.66 MB / 1.21 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/1.509, allocations: 0 / 1.21 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.216e-06/1.509, allocations: 0 / 1.21 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001417/1.51, allocations: 0 / 1.21 GB, free: 10.55 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4629 * Number of variables: 4629 Notification: Performance of Generate backend data structure: time 0.08359/1.594, allocations: 21.55 MB / 1.231 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.594, allocations: 12.03 kB / 1.231 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03882/1.633, allocations: 4.261 MB / 1.235 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1052/1.738, allocations: 23.53 MB / 1.258 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002641/1.741, allocations: 1.282 MB / 1.26 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01108/1.752, allocations: 1.725 MB / 1.261 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1229/1.875, allocations: 27.21 MB / 1.288 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001191/1.876, allocations: 63.41 kB / 1.288 GB, free: 10.26 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007168/1.883, allocations: 0.7438 MB / 1.289 GB, free: 9.531 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001853/1.885, allocations: 0.8844 MB / 1.29 GB, free: 8.645 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1374/2.023, allocations: 24.46 MB / 1.313 GB, free: 160 kB / 0.8386 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 1.676/3.698, allocations: 101.8 MB / 1.413 GB, free: 305.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06658/3.765, allocations: 16.38 MB / 1.429 GB, free: 305.2 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004246/3.769, allocations: 2.094 MB / 1.431 GB, free: 303.2 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03252/3.802, allocations: 7.989 MB / 1.439 GB, free: 303 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=1035): time 1.703e-05/3.802, allocations: 0 / 1.439 GB, free: 303 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1035): time 0.09861/3.901, allocations: 20.67 MB / 1.459 GB, free: 298.8 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/3.901, allocations: 363.6 kB / 1.459 GB, free: 298.5 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05678/3.958, allocations: 18.6 MB / 1.477 GB, free: 289.2 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.003299/3.961, allocations: 228.5 kB / 1.478 GB, free: 289 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.01682/3.978, allocations: 9.814 MB / 1.487 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.007228/3.985, allocations: 3.619 MB / 1.491 GB, free: 279 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002978/3.988, allocations: 258.1 kB / 1.491 GB, free: 278.8 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001422/3.99, allocations: 0.8389 MB / 1.492 GB, free: 278.1 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02593/4.016, allocations: 6.958 MB / 1.499 GB, free: 273 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02922/4.045, allocations: 10.57 MB / 1.509 GB, free: 261.1 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02991/4.075, allocations: 8.917 MB / 1.518 GB, free: 252.3 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/4.075, allocations: 32 kB / 1.518 GB, free: 252.3 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1658) (initialization): time 0.1095/4.185, allocations: 19.65 MB / 1.537 GB, free: 232.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.01624/4.201, allocations: 72.49 MB / 1.608 GB, free: 154.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003154/4.202, allocations: 104 kB / 1.608 GB, free: 154.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/4.202, allocations: 188 kB / 1.608 GB, free: 154.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03028/4.232, allocations: 3.491 MB / 1.611 GB, free: 151.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004143/4.233, allocations: 243.2 kB / 1.611 GB, free: 150.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03087/4.263, allocations: 2.404 MB / 1.614 GB, free: 148.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00364/4.267, allocations: 0.627 MB / 1.614 GB, free: 147.8 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/4.267, allocations: 4 kB / 1.614 GB, free: 147.8 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06688/4.334, allocations: 18.21 MB / 1.632 GB, free: 129.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003632/4.335, allocations: 108 kB / 1.632 GB, free: 129.4 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/4.335, allocations: 188 kB / 1.633 GB, free: 129.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03031/4.365, allocations: 3.491 MB / 1.636 GB, free: 125.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000356/4.365, allocations: 243.2 kB / 1.636 GB, free: 125.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02923/4.395, allocations: 2.182 MB / 1.638 GB, free: 123.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003603/4.398, allocations: 0.6247 MB / 1.639 GB, free: 122.7 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 (1658): * Single equations (assignments): 1658 * 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.02163/4.42, allocations: 7.675 MB / 1.646 GB, free: 115 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007933/4.428, allocations: 1.671 MB / 1.648 GB, free: 113.3 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06819/4.496, allocations: 16.74 MB / 1.664 GB, free: 96.46 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/4.496, allocations: 100 kB / 1.664 GB, free: 96.36 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.801e-05/4.497, allocations: 0 / 1.664 GB, free: 96.36 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05575/4.552, allocations: 13.24 MB / 1.677 GB, free: 83.02 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1506/4.703, allocations: 37.67 MB / 1.714 GB, free: 45.33 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.812e-05/4.703, allocations: 0 / 1.714 GB, free: 45.33 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0252/4.728, allocations: 2.438 MB / 1.717 GB, free: 42.89 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/4.728, allocations: 36 kB / 1.717 GB, free: 42.85 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002845/4.731, allocations: 335.7 kB / 1.717 GB, free: 42.52 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000141/4.731, allocations: 39.95 kB / 1.717 GB, free: 42.48 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/4.732, allocations: 8 kB / 1.717 GB, free: 42.48 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08624/4.818, allocations: 24.94 MB / 1.741 GB, free: 17.29 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01624/4.834, allocations: 4.417 MB / 1.746 GB, free: 12.84 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007708/4.842, allocations: 227.9 kB / 1.746 GB, free: 12.61 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0295/4.871, allocations: 1.433 MB / 1.747 GB, free: 11.19 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002885/4.874, allocations: 0.593 MB / 1.748 GB, free: 10.59 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003372/4.878, allocations: 0.4948 MB / 1.748 GB, free: 10.1 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 1.362/6.239, allocations: 13.21 MB / 1.761 GB, free: 296.8 MB / 0.9325 GB Notification: Performance of sort global known variables: time 8.01e-07/6.239, allocations: 1.422 kB / 1.761 GB, free: 296.8 MB / 0.9325 GB Notification: Performance of remove unused functions: time 0.05179/6.291, allocations: 10.21 MB / 1.771 GB, free: 296.8 MB / 0.9325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.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 (1055): * Single equations (assignments): 1047 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007209/6.298, allocations: 1.55 MB / 1.773 GB, free: 296.5 MB / 0.9325 GB Notification: Performance of simCode: created initialization part: time 0.0933/6.392, allocations: 25.68 MB / 1.798 GB, free: 293.6 MB / 0.9325 GB Notification: Performance of simCode: created event and clocks part: time 2.251e-05/6.392, allocations: 11.39 kB / 1.798 GB, free: 293.6 MB / 0.9325 GB Notification: Performance of simCode: created simulation system equations: time 0.02533/6.417, allocations: 7.294 MB / 1.805 GB, free: 291.2 MB / 0.9325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08131/6.499, allocations: 10.86 MB / 1.816 GB, free: 289 MB / 0.9325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1273/6.626, allocations: 52.93 MB / 1.867 GB, free: 246.8 MB / 0.9325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02602/6.652, allocations: 13.32 MB / 1.88 GB, free: 233.4 MB / 0.9325 GB Notification: Performance of simCode: alias equations: time 0.06772/6.72, allocations: 11.27 MB / 1.891 GB, free: 222.1 MB / 0.9325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0128/6.733, allocations: 1.604 MB / 1.893 GB, free: 220.5 MB / 0.9325 GB Notification: Performance of SimCode: time 1.592e-06/6.733, allocations: 0 / 1.893 GB, free: 220.5 MB / 0.9325 GB Notification: Performance of Templates: time 1.632/8.364, allocations: 357.5 MB / 2.242 GB, free: 198.6 MB / 0.9325 GB