Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.581/2.581, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001418/0.001418, allocations: 175.9 kB / 371.4 MB, free: 10.68 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 2.048/2.048, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001014/0.001014, allocations: 95.2 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004565, allocations: 11.56 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.06241/0.2161, allocations: 51.96 MB / 1.029 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.7818/0.998, allocations: 142.5 MB / 1.169 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/1.002, allocations: 75.28 kB / 1.169 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003552/1.005, allocations: 0.8591 MB / 1.17 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/1.016, allocations: 2.693 MB / 1.172 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009739/1.026, allocations: 2.531 MB / 1.175 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.03259/1.058, allocations: 22.53 MB / 1.197 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02733/1.086, allocations: 14.46 MB / 1.211 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01877/1.105, allocations: 8.715 MB / 1.219 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0152/1.12, allocations: 7.306 MB / 1.226 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003475/1.123, allocations: 0.5508 MB / 1.227 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01/1.133, allocations: 1.608 MB / 1.229 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.005858/1.139, allocations: 2.786 MB / 1.231 GB, free: 6.539 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.007172/1.146, allocations: 3.189 MB / 1.234 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03183/1.178, allocations: 21 MB / 1.255 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.06e-06/1.178, allocations: 0 / 1.255 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.398e-06/1.178, allocations: 0 / 1.255 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005749/1.179, allocations: 0 / 1.255 GB, free: 14.29 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3084 * Number of variables: 3084 Notification: Performance of Generate backend data structure: time 0.03894/1.218, allocations: 14.26 MB / 1.269 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.218, allocations: 8.031 kB / 1.269 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02222/1.24, allocations: 3.37 MB / 1.272 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04411/1.284, allocations: 15.03 MB / 1.287 GB, free: 13.38 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/1.286, allocations: 0.8605 MB / 1.288 GB, free: 12.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003883/1.289, allocations: 1.152 MB / 1.289 GB, free: 11.37 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0531/1.343, allocations: 18.01 MB / 1.306 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004863/1.343, allocations: 43.62 kB / 1.306 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003102/1.346, allocations: 0.4922 MB / 1.307 GB, free: 8.293 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007386/1.347, allocations: 0.5806 MB / 1.307 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05157/1.399, allocations: 16.26 MB / 1.323 GB, free: 7.438 MB / 0.8542 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.14/1.539, allocations: 65.62 MB / 1.387 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02891/1.568, allocations: 10.58 MB / 1.398 GB, free: 8.828 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003908/1.572, allocations: 2.435 MB / 1.4 GB, free: 5.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01735/1.589, allocations: 5.78 MB / 1.406 GB, free: 72 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=706): time 1.505e-05/1.589, allocations: 0 / 1.406 GB, free: 72 kB / 0.9323 GB Notification: Performance of matching and sorting (n=706): time 0.04872/1.638, allocations: 14.01 MB / 1.419 GB, free: 1.961 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/1.638, allocations: 312.8 kB / 1.42 GB, free: 1.598 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02775/1.666, allocations: 11.9 MB / 1.431 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001559/1.667, allocations: 169.7 kB / 1.432 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.096/2.764, allocations: 6.365 MB / 1.438 GB, free: 331 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.004207/2.768, allocations: 2.458 MB / 1.44 GB, free: 330.6 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/2.769, allocations: 173.2 kB / 1.44 GB, free: 330.6 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0009007/2.77, allocations: 0.6515 MB / 1.441 GB, free: 330.2 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01462/2.785, allocations: 4.595 MB / 1.445 GB, free: 330.2 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.017/2.802, allocations: 6.839 MB / 1.452 GB, free: 326.4 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01637/2.818, allocations: 5.787 MB / 1.458 GB, free: 324.2 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/2.819, allocations: 18.72 kB / 1.458 GB, free: 324.2 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.04178/2.86, allocations: 12.95 MB / 1.47 GB, free: 319.4 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.006985/2.867, allocations: 37.24 MB / 1.507 GB, free: 280.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002954/2.868, allocations: 65.72 kB / 1.507 GB, free: 280.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009805/2.869, allocations: 202.3 kB / 1.507 GB, free: 280.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/2.884, allocations: 2.337 MB / 1.509 GB, free: 280.4 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/2.886, allocations: 1.688 MB / 1.511 GB, free: 278.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01568/2.902, allocations: 1.578 MB / 1.513 GB, free: 278.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/2.904, allocations: 419.5 kB / 1.513 GB, free: 278.3 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/2.904, allocations: 4.188 kB / 1.513 GB, free: 278.3 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03695/2.941, allocations: 12 MB / 1.525 GB, free: 273.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001964/2.941, allocations: 64.5 kB / 1.525 GB, free: 273.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008583/2.942, allocations: 199 kB / 1.525 GB, free: 273.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01532/2.958, allocations: 2.334 MB / 1.527 GB, free: 273.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/2.96, allocations: 1.699 MB / 1.529 GB, free: 272.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/2.975, allocations: 1.443 MB / 1.53 GB, free: 271.5 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/2.977, allocations: 426.8 kB / 1.531 GB, free: 271.4 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (1096): * Single equations (assignments): 1095 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01103/2.988, allocations: 4.858 MB / 1.535 GB, free: 269.3 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/2.992, allocations: 1.105 MB / 1.536 GB, free: 268.8 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03926/3.031, allocations: 12.15 MB / 1.548 GB, free: 262.7 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-05/3.031, allocations: 75.98 kB / 1.548 GB, free: 262.6 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/3.031, allocations: 0 / 1.548 GB, free: 262.6 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02668/3.058, allocations: 9.247 MB / 1.557 GB, free: 253.2 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06606/3.124, allocations: 26.35 MB / 1.583 GB, free: 226.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/3.124, allocations: 12 kB / 1.583 GB, free: 226.7 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01202/3.136, allocations: 1.681 MB / 1.585 GB, free: 225 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/3.137, allocations: 116.8 kB / 1.585 GB, free: 224.9 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001413/3.138, allocations: 243.8 kB / 1.585 GB, free: 224.7 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/3.14, allocations: 1.608 MB / 1.587 GB, free: 222.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/3.14, allocations: 20 kB / 1.587 GB, free: 222.9 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04442/3.185, allocations: 20.39 MB / 1.607 GB, free: 201.8 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008867/3.194, allocations: 3.042 MB / 1.61 GB, free: 198.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003702/3.198, allocations: 169.8 kB / 1.61 GB, free: 198.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01321/3.211, allocations: 0.8975 MB / 1.611 GB, free: 197.7 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/3.212, allocations: 460.5 kB / 1.611 GB, free: 197.2 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001893/3.214, allocations: 375.6 kB / 1.611 GB, free: 196.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01752/3.232, allocations: 8.434 MB / 1.62 GB, free: 188.5 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.415e-06/3.232, allocations: 4 kB / 1.62 GB, free: 188.5 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02497/3.257, allocations: 6.812 MB / 1.626 GB, free: 181.7 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,TOut.T,TIn.T,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,TOut1.T,TIn1.T) * 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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004233/3.261, allocations: 1.2 MB / 1.628 GB, free: 180.8 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04447/3.306, allocations: 17.46 MB / 1.645 GB, free: 163.3 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 2.256e-05/3.306, allocations: 11.61 kB / 1.645 GB, free: 163.3 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/3.32, allocations: 5.283 MB / 1.65 GB, free: 158 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03377/3.353, allocations: 6.871 MB / 1.656 GB, free: 151.2 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06795/3.421, allocations: 35.22 MB / 1.691 GB, free: 115.7 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01504/3.437, allocations: 8.768 MB / 1.699 GB, free: 106.9 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.03648/3.473, allocations: 7.197 MB / 1.706 GB, free: 99.7 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006064/3.479, allocations: 1.077 MB / 1.707 GB, free: 98.62 MB / 0.9637 GB Notification: Performance of SimCode: time 1.919e-06/3.479, allocations: 0 / 1.707 GB, free: 98.62 MB / 0.9637 GB Notification: Performance of Templates: time 1.733/5.212, allocations: 234.7 MB / 1.937 GB, free: 225.7 MB / 0.9638 GB