Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.446/2.446, allocations: 287.9 MB / 302.9 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002257/0.002257, allocations: 181.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 95.48 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 15 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.0274/0.1793, allocations: 25.81 MB / 1.004 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7329/0.9123, allocations: 135 MB / 1.136 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.9147, allocations: 48.03 kB / 1.136 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.9166, allocations: 0.5121 MB / 1.136 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.9228, allocations: 1.618 MB / 1.138 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006089/0.929, allocations: 1.628 MB / 1.139 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02645/0.9554, allocations: 18.02 MB / 1.157 GB, free: 7.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02122/0.9767, allocations: 11.54 MB / 1.168 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/0.9905, allocations: 6.732 MB / 1.175 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/1.002, allocations: 5.746 MB / 1.181 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002222/1.004, allocations: 445.2 kB / 1.181 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00764/1.012, allocations: 1.157 MB / 1.182 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00452/1.017, allocations: 2.23 MB / 1.184 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.005429/1.022, allocations: 2.519 MB / 1.187 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02393/1.046, allocations: 16.59 MB / 1.203 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.049e-06/1.046, allocations: 0 / 1.203 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.839e-06/1.046, allocations: 0 / 1.203 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003896/1.047, allocations: 7.938 kB / 1.203 GB, free: 3.582 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.02998/1.077, allocations: 11.33 MB / 1.214 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.077, allocations: 16.03 kB / 1.214 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/1.09, allocations: 2.214 MB / 1.216 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03389/1.124, allocations: 12.15 MB / 1.228 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008732/1.125, allocations: 0.6777 MB / 1.229 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/1.128, allocations: 0.8865 MB / 1.23 GB, free: 8.098 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03825/1.166, allocations: 14.13 MB / 1.243 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003078/1.167, allocations: 35.72 kB / 1.243 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/1.169, allocations: 396 kB / 1.244 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000562/1.169, allocations: 465.4 kB / 1.244 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/1.206, allocations: 12.73 MB / 1.257 GB, free: 11.89 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.1029/1.309, allocations: 52.24 MB / 1.308 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03271/1.342, allocations: 8.341 MB / 1.316 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004563/1.347, allocations: 1.572 MB / 1.317 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02213/1.369, allocations: 4.279 MB / 1.322 GB, free: 7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=553): time 2.228e-05/1.369, allocations: 0 / 1.322 GB, free: 7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=553): time 0.04359/1.412, allocations: 10.77 MB / 1.332 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/1.413, allocations: 287.7 kB / 1.332 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02066/1.433, allocations: 9.614 MB / 1.342 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001177/1.435, allocations: 137.7 kB / 1.342 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.007415/1.442, allocations: 4.986 MB / 1.347 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003181/1.445, allocations: 1.918 MB / 1.349 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006242/1.446, allocations: 140 kB / 1.349 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000597/1.446, allocations: 0.5753 MB / 1.349 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01044/1.457, allocations: 3.585 MB / 1.353 GB, free: 6.781 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01266/1.47, allocations: 5.435 MB / 1.358 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/1.482, allocations: 4.581 MB / 1.363 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.018e-05/1.482, allocations: 16 kB / 1.363 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.02927/1.512, allocations: 10.15 MB / 1.372 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01481/1.526, allocations: 28.67 MB / 1.4 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001758/1.527, allocations: 52 kB / 1.401 GB, free: 3.066 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/1.527, allocations: 100 kB / 1.401 GB, free: 2.969 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01139/1.538, allocations: 1.814 MB / 1.402 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002101/1.538, allocations: 123.6 kB / 1.403 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01223/1.551, allocations: 1.241 MB / 1.404 GB, free: 15.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/1.553, allocations: 331.9 kB / 1.404 GB, free: 15.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.553, allocations: 4 kB / 1.404 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03258/1.586, allocations: 9.384 MB / 1.413 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/1.586, allocations: 52 kB / 1.413 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/1.586, allocations: 96 kB / 1.413 GB, free: 5.852 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/1.598, allocations: 1.822 MB / 1.415 GB, free: 4.027 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001849/1.598, allocations: 123.6 kB / 1.415 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/1.609, allocations: 1.133 MB / 1.416 GB, free: 2.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.611, allocations: 331.9 kB / 1.417 GB, free: 2.445 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.009674/1.62, allocations: 4 MB / 1.421 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002842/1.623, allocations: 0.88 MB / 1.421 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02766/1.651, allocations: 8.827 MB / 1.43 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-05/1.651, allocations: 55.98 kB / 1.43 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.651, allocations: 0 / 1.43 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178/2.829, allocations: 6.937 MB / 1.437 GB, free: 334.4 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05353/2.882, allocations: 19.62 MB / 1.456 GB, free: 327.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/2.882, allocations: 4.25 kB / 1.456 GB, free: 327.4 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009386/2.892, allocations: 1.291 MB / 1.457 GB, free: 327.4 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.528e-05/2.892, allocations: 20.34 kB / 1.457 GB, free: 327.4 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009866/2.893, allocations: 183.3 kB / 1.458 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.542e-05/2.893, allocations: 22.47 kB / 1.458 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.619e-06/2.893, allocations: 1.156 kB / 1.458 GB, free: 327.3 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.039/2.932, allocations: 12.94 MB / 1.47 GB, free: 322.6 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01184/2.944, allocations: 2.382 MB / 1.473 GB, free: 321.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004664/2.949, allocations: 119.5 kB / 1.473 GB, free: 321.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01882/2.967, allocations: 0.7586 MB / 1.473 GB, free: 321.5 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001788/2.969, allocations: 334.4 kB / 1.474 GB, free: 321.5 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002049/2.971, allocations: 290.9 kB / 1.474 GB, free: 321.4 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02538/2.997, allocations: 6.803 MB / 1.481 GB, free: 319.1 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.882e-06/2.997, allocations: 0 / 1.481 GB, free: 319.1 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.03116/3.028, allocations: 5.327 MB / 1.486 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.007315/3.035, allocations: 1.243 MB / 1.487 GB, free: 318 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.05295/3.088, allocations: 13.29 MB / 1.5 GB, free: 311.6 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/3.088, allocations: 11.03 kB / 1.5 GB, free: 311.6 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/3.099, allocations: 3.811 MB / 1.504 GB, free: 309.8 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0265/3.125, allocations: 5.567 MB / 1.509 GB, free: 304.6 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04747/3.173, allocations: 27.2 MB / 1.536 GB, free: 277.4 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/3.184, allocations: 7.154 MB / 1.543 GB, free: 270.2 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.02705/3.211, allocations: 6.119 MB / 1.549 GB, free: 264.1 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003989/3.215, allocations: 0.8583 MB / 1.55 GB, free: 263.2 MB / 0.9637 GB Notification: Performance of SimCode: time 2.241e-06/3.215, allocations: 0 / 1.55 GB, free: 263.2 MB / 0.9637 GB Notification: Performance of Templates: time 0.4367/3.652, allocations: 194.2 MB / 1.739 GB, free: 69.73 MB / 0.9637 GB