Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.7/2.7, allocations: 287.3 MB / 302.3 MB, free: 8.215 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.00159/0.00159, allocations: 183.5 kB / 370.8 MB, free: 10.87 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.214/2.214, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.00116/0.001159, allocations: 87.92 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.000496, allocations: 15.27 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2209, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.07824/0.2992, allocations: 51.97 MB / 1.029 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 1.021/1.32, allocations: 142.5 MB / 1.168 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/1.324, allocations: 75.66 kB / 1.168 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004471/1.329, allocations: 0.8526 MB / 1.169 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01273/1.342, allocations: 2.703 MB / 1.172 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01184/1.353, allocations: 2.521 MB / 1.174 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.04568/1.399, allocations: 22.53 MB / 1.196 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03159/1.431, allocations: 14.46 MB / 1.21 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02384/1.455, allocations: 8.711 MB / 1.219 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0191/1.474, allocations: 7.31 MB / 1.226 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.004514/1.478, allocations: 0.5508 MB / 1.226 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/1.493, allocations: 1.616 MB / 1.228 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.00733/1.5, allocations: 2.778 MB / 1.231 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.008595/1.509, allocations: 3.193 MB / 1.234 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03691/1.546, allocations: 21.01 MB / 1.254 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.546, allocations: 0 / 1.254 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.577e-06/1.546, allocations: 0 / 1.254 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0008214/1.546, allocations: 0 / 1.254 GB, free: 14.61 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.05233/1.599, allocations: 14.25 MB / 1.268 GB, free: 236 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.599, allocations: 8.031 kB / 1.268 GB, free: 228 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03252/1.631, allocations: 3.368 MB / 1.272 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05698/1.688, allocations: 15.04 MB / 1.286 GB, free: 13.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001337/1.69, allocations: 0.8587 MB / 1.287 GB, free: 12.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005403/1.695, allocations: 1.148 MB / 1.288 GB, free: 11.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06833/1.764, allocations: 18 MB / 1.306 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007342/1.764, allocations: 47.41 kB / 1.306 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004878/1.769, allocations: 0.496 MB / 1.306 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008904/1.77, allocations: 0.5805 MB / 1.307 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06778/1.838, allocations: 16.25 MB / 1.323 GB, free: 7.766 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.1782/2.016, allocations: 65.63 MB / 1.387 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03988/2.056, allocations: 10.59 MB / 1.397 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00502/2.061, allocations: 2.428 MB / 1.4 GB, free: 6.234 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02351/2.085, allocations: 5.784 MB / 1.405 GB, free: 400 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=706): time 1.423e-05/2.085, allocations: 3.938 kB / 1.405 GB, free: 396 kB / 0.9323 GB Notification: Performance of matching and sorting (n=706): time 0.0664/2.151, allocations: 14.02 MB / 1.419 GB, free: 2.273 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002355/2.152, allocations: 313 kB / 1.419 GB, free: 1.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03445/2.186, allocations: 11.9 MB / 1.431 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002309/2.189, allocations: 169.7 kB / 1.431 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.3/3.489, allocations: 6.364 MB / 1.437 GB, free: 330.5 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.005688/3.495, allocations: 2.461 MB / 1.44 GB, free: 330.2 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002173/3.497, allocations: 171.5 kB / 1.44 GB, free: 330.2 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001081/3.498, allocations: 0.6488 MB / 1.44 GB, free: 329.9 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02046/3.518, allocations: 4.589 MB / 1.445 GB, free: 329.9 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02347/3.542, allocations: 6.848 MB / 1.452 GB, free: 326.1 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/3.565, allocations: 5.786 MB / 1.457 GB, free: 323.9 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/3.565, allocations: 18.97 kB / 1.457 GB, free: 323.9 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.05708/3.622, allocations: 12.95 MB / 1.47 GB, free: 319.1 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.007884/3.63, allocations: 37.24 MB / 1.506 GB, free: 280.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003702/3.631, allocations: 65.34 kB / 1.506 GB, free: 280.3 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/3.632, allocations: 206.9 kB / 1.507 GB, free: 280.3 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02225/3.654, allocations: 2.337 MB / 1.509 GB, free: 280.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/3.658, allocations: 1.684 MB / 1.51 GB, free: 278.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02202/3.68, allocations: 1.571 MB / 1.512 GB, free: 278.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002723/3.683, allocations: 427.1 kB / 1.512 GB, free: 278 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/3.683, allocations: 3.844 kB / 1.512 GB, free: 278 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05028/3.733, allocations: 12 MB / 1.524 GB, free: 273.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003517/3.734, allocations: 64.09 kB / 1.524 GB, free: 273.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/3.735, allocations: 202.1 kB / 1.524 GB, free: 273.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02165/3.757, allocations: 2.339 MB / 1.527 GB, free: 273.4 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/3.76, allocations: 1.696 MB / 1.528 GB, free: 271.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0206/3.78, allocations: 1.436 MB / 1.53 GB, free: 271.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00257/3.783, allocations: 431 kB / 1.53 GB, free: 271.2 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.01463/3.798, allocations: 4.852 MB / 1.535 GB, free: 269.1 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005674/3.803, allocations: 1.11 MB / 1.536 GB, free: 268.5 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05107/3.854, allocations: 12.14 MB / 1.548 GB, free: 262.9 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001103/3.855, allocations: 79.3 kB / 1.548 GB, free: 262.9 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/3.855, allocations: 0 / 1.548 GB, free: 262.9 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03779/3.892, allocations: 9.251 MB / 1.557 GB, free: 253.6 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08934/3.982, allocations: 26.34 MB / 1.583 GB, free: 227.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.318e-05/3.982, allocations: 12 kB / 1.583 GB, free: 227.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01786/4, allocations: 1.693 MB / 1.584 GB, free: 225.4 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/4.001, allocations: 116.8 kB / 1.584 GB, free: 225.2 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/4.003, allocations: 239.8 kB / 1.585 GB, free: 225 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/4.006, allocations: 1.603 MB / 1.586 GB, free: 223.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/4.006, allocations: 15.94 kB / 1.586 GB, free: 223.3 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06347/4.069, allocations: 20.38 MB / 1.606 GB, free: 202.2 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/4.081, allocations: 3.046 MB / 1.609 GB, free: 199.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005125/4.086, allocations: 167.9 kB / 1.609 GB, free: 198.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0202/4.106, allocations: 0.8969 MB / 1.61 GB, free: 198 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002075/4.108, allocations: 454.5 kB / 1.611 GB, free: 197.6 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002327/4.111, allocations: 383.6 kB / 1.611 GB, free: 197.2 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02152/4.132, allocations: 8.426 MB / 1.619 GB, free: 188.8 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.473e-06/4.132, allocations: 0 / 1.619 GB, free: 188.8 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.03137/4.164, allocations: 6.82 MB / 1.626 GB, free: 182 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.005212/4.169, allocations: 1.206 MB / 1.627 GB, free: 181.1 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.06202/4.231, allocations: 17.46 MB / 1.644 GB, free: 163.7 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 2.981e-05/4.231, allocations: 15.73 kB / 1.644 GB, free: 163.6 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01939/4.25, allocations: 5.283 MB / 1.649 GB, free: 158.3 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0534/4.304, allocations: 6.87 MB / 1.656 GB, free: 151.6 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08637/4.39, allocations: 35.22 MB / 1.69 GB, free: 116.1 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01647/4.407, allocations: 8.761 MB / 1.699 GB, free: 107.3 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.04465/4.451, allocations: 7.193 MB / 1.706 GB, free: 100.1 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008303/4.46, allocations: 1.077 MB / 1.707 GB, free: 99.05 MB / 0.9637 GB Notification: Performance of SimCode: time 1.473e-06/4.46, allocations: 0 / 1.707 GB, free: 99.05 MB / 0.9637 GB Notification: Performance of Templates: time 1.9/6.359, allocations: 234.7 MB / 1.936 GB, free: 224.8 MB / 0.9638 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)