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.684/1.684, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001488/0.001488, allocations: 172.9 kB / 361.4 MB, free: 6.859 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.818/1.818, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 93.16 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7548, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.935/5.69, allocations: 2.109 GB / 3.073 GB, free: 50.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.69, allocations: 87.95 kB / 3.074 GB, free: 50.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.034/10.72, allocations: 1.401 GB / 4.475 GB, free: 123.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.482e-06/10.72, allocations: 0 / 4.475 GB, free: 123.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004905/10.72, allocations: 126 kB / 4.475 GB, free: 123.5 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.01338/10.74, allocations: 5.521 MB / 4.48 GB, free: 117.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/10.74, allocations: 12.03 kB / 4.48 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/10.75, allocations: 1.605 MB / 4.482 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/10.76, allocations: 5.227 MB / 4.487 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/10.76, allocations: 120 kB / 4.487 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/10.76, allocations: 219.9 kB / 4.487 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007465/10.77, allocations: 4.431 MB / 4.491 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007644/10.78, allocations: 4.606 MB / 4.496 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/10.78, allocations: 7.938 kB / 4.496 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004514/10.78, allocations: 4 kB / 4.496 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/10.78, allocations: 159.3 kB / 4.496 GB, free: 101.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.02477/10.8, allocations: 18.49 MB / 4.514 GB, free: 82.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/10.81, allocations: 3.28 MB / 4.517 GB, free: 79.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/10.81, allocations: 1.618 MB / 4.519 GB, free: 77.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/10.81, allocations: 2.535 MB / 4.521 GB, free: 74.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/10.81, allocations: 1.824 MB / 4.523 GB, free: 72.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 4.358e-06/10.81, allocations: 4 kB / 4.523 GB, free: 72.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.05878/10.87, allocations: 8.041 MB / 4.531 GB, free: 64.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/10.87, allocations: 291.2 kB / 4.531 GB, free: 64.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004047/10.88, allocations: 2.855 MB / 4.534 GB, free: 61.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006165/10.88, allocations: 29.7 kB / 4.534 GB, free: 61.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/10.88, allocations: 1.947 MB / 4.536 GB, free: 59.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/10.88, allocations: 0.9314 MB / 4.537 GB, free: 58.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/10.88, allocations: 0 / 4.537 GB, free: 58.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000144/10.88, allocations: 431.2 kB / 4.537 GB, free: 58.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/10.88, allocations: 1.337 MB / 4.539 GB, free: 56.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/10.88, allocations: 1.966 MB / 4.541 GB, free: 54.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1471/11.03, allocations: 13.35 MB / 4.554 GB, free: 41.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.609e-05/11.03, allocations: 4 kB / 4.554 GB, free: 41.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.1471/11.18, allocations: 15.46 MB / 4.569 GB, free: 25.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009831/11.18, allocations: 6.444 MB / 4.575 GB, free: 18.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/11.18, allocations: 12 kB / 4.575 GB, free: 18.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/11.18, allocations: 112.8 kB / 4.575 GB, free: 18.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/11.18, allocations: 0.7918 MB / 4.576 GB, free: 17.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/11.19, allocations: 2.098 MB / 4.578 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/11.19, allocations: 448.7 kB / 4.578 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005674/11.19, allocations: 155.9 kB / 4.579 GB, free: 14.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/11.19, allocations: 4 kB / 4.579 GB, free: 14.94 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7554/11.95, allocations: 15.08 MB / 4.593 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/11.95, allocations: 15.31 kB / 4.593 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/11.95, allocations: 111.2 kB / 4.593 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/11.95, allocations: 0.7841 MB / 4.594 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/11.95, allocations: 1.511 MB / 4.596 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/11.96, allocations: 410.3 kB / 4.596 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/11.96, allocations: 157.5 kB / 4.596 GB, free: 140.1 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 () * 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.0007688/11.96, allocations: 175.6 kB / 4.596 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009294/11.96, allocations: 362.2 kB / 4.597 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06221/12.02, allocations: 8.957 MB / 4.605 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/12.02, allocations: 29.22 kB / 4.605 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/12.02, allocations: 1.156 kB / 4.605 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05821/12.08, allocations: 7.977 MB / 4.613 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0691/12.15, allocations: 13.34 MB / 4.626 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/12.15, allocations: 0 / 4.626 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/12.15, allocations: 0.6162 MB / 4.627 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/12.15, allocations: 466 kB / 4.627 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/12.15, allocations: 64.08 kB / 4.627 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/12.16, allocations: 7.508 MB / 4.635 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/12.16, allocations: 3.047 kB / 4.635 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06406/12.22, allocations: 10.42 MB / 4.645 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003509/12.23, allocations: 1.103 MB / 4.646 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/12.23, allocations: 8.406 kB / 4.646 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00423/12.23, allocations: 271.7 kB / 4.646 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/12.23, allocations: 191 kB / 4.646 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/12.23, allocations: 137.4 kB / 4.647 GB, free: 131.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004038/12.24, allocations: 2.196 MB / 4.649 GB, free: 131.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/12.24, allocations: 0 / 4.649 GB, free: 131.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01166/12.25, allocations: 2.753 MB / 4.651 GB, free: 131 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) * 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.003825/12.25, allocations: 1.818 MB / 4.653 GB, free: 130.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009817/12.26, allocations: 5.525 MB / 4.659 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/12.26, allocations: 4.875 kB / 4.659 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003674/12.27, allocations: 1.889 MB / 4.66 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009959/12.28, allocations: 1.692 MB / 4.662 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/12.29, allocations: 7.824 MB / 4.67 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/12.3, allocations: 3.153 MB / 4.673 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01347/12.31, allocations: 3.332 MB / 4.676 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/12.31, allocations: 333.9 kB / 4.676 GB, free: 127.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/12.31, allocations: 0 / 4.676 GB, free: 127.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1328/12.44, allocations: 83.61 MB / 4.758 GB, free: 122.9 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)