Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.765/1.765, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.001626/0.001626, allocations: 184.5 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.6317 GB, free: 9.902 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.0008765/0.0008766, allocations: 108.2 kB / 0.7451 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 15.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2636, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.327/5.591, allocations: 2.11 GB / 3.091 GB, free: 197.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/5.591, allocations: 97.12 kB / 3.091 GB, free: 197.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.088/10.68, allocations: 1.283 GB / 4.374 GB, free: 146.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.116e-06/10.68, allocations: 0.5938 kB / 4.374 GB, free: 146.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001436/10.68, allocations: 126.4 kB / 4.374 GB, free: 146.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.03414/10.71, allocations: 6.295 MB / 4.38 GB, free: 146.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.544e-05/10.71, allocations: 12.72 kB / 4.38 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/10.73, allocations: 1.6 MB / 4.382 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/10.75, allocations: 5.624 MB / 4.387 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000517/10.75, allocations: 279.9 kB / 4.388 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/10.75, allocations: 378.1 kB / 4.388 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/10.77, allocations: 5.478 MB / 4.393 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.59e-05/10.77, allocations: 12.91 kB / 4.393 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007182/10.77, allocations: 160.5 kB / 4.394 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/10.77, allocations: 158.7 kB / 4.394 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01594/10.79, allocations: 5.327 MB / 4.399 GB, free: 144.6 MB / 0.948 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.05682/10.84, allocations: 19.07 MB / 4.418 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/10.86, allocations: 3.808 MB / 4.421 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006266/10.86, allocations: 1.906 MB / 4.423 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003222/10.87, allocations: 2.535 MB / 4.426 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007811/10.88, allocations: 2.131 MB / 4.428 GB, free: 136.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 2.298e-05/10.88, allocations: 0 / 4.428 GB, free: 136.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.02598/10.9, allocations: 6.832 MB / 4.434 GB, free: 134.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/10.9, allocations: 291.9 kB / 4.435 GB, free: 134.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/10.91, allocations: 3.608 MB / 4.438 GB, free: 134.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001692/10.92, allocations: 80.95 kB / 4.438 GB, free: 134.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003617/10.92, allocations: 1.945 MB / 4.44 GB, free: 133.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00315/10.92, allocations: 0.9679 MB / 4.441 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/10.92, allocations: 57.12 kB / 4.441 GB, free: 133.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003176/10.92, allocations: 429.6 kB / 4.442 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/10.93, allocations: 1.597 MB / 4.443 GB, free: 132.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/10.93, allocations: 2.255 MB / 4.445 GB, free: 132.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007695/10.94, allocations: 3.921 MB / 4.449 GB, free: 131.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/10.94, allocations: 7.625 kB / 4.449 GB, free: 131.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01105/10.95, allocations: 4.47 MB / 4.453 GB, free: 131.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003652/10.95, allocations: 0.5482 MB / 4.454 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/10.95, allocations: 12.91 kB / 4.454 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/10.95, allocations: 112 kB / 4.454 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004466/10.96, allocations: 0.7981 MB / 4.455 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/10.96, allocations: 2.172 MB / 4.457 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008687/10.97, allocations: 0.495 MB / 4.458 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/10.97, allocations: 162.8 kB / 4.458 GB, free: 128.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/10.97, allocations: 3.75 kB / 4.458 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01021/10.98, allocations: 4.124 MB / 4.462 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.083e-05/10.98, allocations: 11.72 kB / 4.462 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/10.98, allocations: 109.7 kB / 4.462 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/10.98, allocations: 0.7878 MB / 4.463 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/10.99, allocations: 1.575 MB / 4.464 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006904/10.99, allocations: 477 kB / 4.465 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/10.99, allocations: 159.2 kB / 4.465 GB, free: 127.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004978/11, allocations: 1.519 MB / 4.466 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00265/11, allocations: 387.8 kB / 4.467 GB, free: 126.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/11.02, allocations: 5.127 MB / 4.472 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/11.02, allocations: 29 kB / 4.472 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/11.02, allocations: 6.25 kB / 4.472 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009474/11.03, allocations: 4.073 MB / 4.476 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02505/11.05, allocations: 9.86 MB / 4.485 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/11.05, allocations: 2.844 kB / 4.485 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/11.05, allocations: 0.615 MB / 4.486 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/11.06, allocations: 0.6626 MB / 4.487 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004024/11.06, allocations: 95.66 kB / 4.487 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/11.06, allocations: 7.542 MB / 4.494 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/11.06, allocations: 0 / 4.494 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/11.08, allocations: 6.741 MB / 4.501 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004792/11.08, allocations: 1.089 MB / 4.502 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/11.09, allocations: 61.55 kB / 4.502 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005481/11.09, allocations: 314.7 kB / 4.502 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/11.09, allocations: 182.3 kB / 4.502 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000467/11.09, allocations: 143.4 kB / 4.502 GB, free: 117.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005296/11.1, allocations: 2.544 MB / 4.505 GB, free: 117.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/11.1, allocations: 0 / 4.505 GB, free: 117.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01624/11.11, allocations: 2.848 MB / 4.508 GB, free: 117.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (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) * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005576/11.12, allocations: 1.833 MB / 4.509 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01716/11.14, allocations: 6.295 MB / 4.515 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/11.14, allocations: 3.469 kB / 4.515 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005283/11.14, allocations: 2.17 MB / 4.518 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0134/11.16, allocations: 1.952 MB / 4.52 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/11.18, allocations: 11.41 MB / 4.531 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003274/11.19, allocations: 3.063 MB / 4.534 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009988/11.2, allocations: 2.39 MB / 4.536 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/11.2, allocations: 414.4 kB / 4.536 GB, free: 107.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.093e-06/11.2, allocations: 0 / 4.536 GB, free: 107.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1717/11.37, allocations: 93.1 MB / 4.627 GB, free: 79.53 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)