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.777/1.777, allocations: 285.4 MB / 298 MB, free: 5.973 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.001409/0.001409, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.754/1.754, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008341/0.0008342, allocations: 93.47 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.16e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8384, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.269/7.107, allocations: 2.11 GB / 3.081 GB, free: 282.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/7.107, allocations: 100.7 kB / 3.081 GB, free: 282.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.356/12.46, allocations: 1.412 GB / 4.492 GB, free: 25.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.754e-06/12.46, allocations: 4 kB / 4.492 GB, free: 25.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007424/12.46, allocations: 131.8 kB / 4.492 GB, free: 25.32 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.0174/12.48, allocations: 5.515 MB / 4.498 GB, free: 19.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/12.48, allocations: 8.031 kB / 4.498 GB, free: 19.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/12.49, allocations: 1.609 MB / 4.499 GB, free: 18.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01491/12.51, allocations: 5.219 MB / 4.504 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/12.51, allocations: 283.5 kB / 4.505 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/12.51, allocations: 375.9 kB / 4.505 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/12.52, allocations: 5.137 MB / 4.51 GB, free: 6.887 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/12.52, allocations: 3.938 kB / 4.51 GB, free: 6.883 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000471/12.52, allocations: 164 kB / 4.51 GB, free: 6.723 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/12.52, allocations: 163.3 kB / 4.51 GB, free: 6.562 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00712/12.53, allocations: 4.741 MB / 4.515 GB, free: 1.816 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.6512/13.18, allocations: 19.2 MB / 4.534 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/13.19, allocations: 3.441 MB / 4.537 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/13.19, allocations: 1.699 MB / 4.539 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/13.19, allocations: 2.533 MB / 4.541 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00346/13.2, allocations: 1.924 MB / 4.543 GB, free: 128.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 5.581e-06/13.2, allocations: 0 / 4.543 GB, free: 128.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.008206/13.2, allocations: 3.78 MB / 4.547 GB, free: 127.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/13.2, allocations: 290.1 kB / 4.547 GB, free: 127.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/13.21, allocations: 3.313 MB / 4.55 GB, free: 127.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007627/13.21, allocations: 81.83 kB / 4.55 GB, free: 127.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/13.21, allocations: 1.947 MB / 4.552 GB, free: 126.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/13.21, allocations: 0.9656 MB / 4.553 GB, free: 126.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/13.21, allocations: 68.09 kB / 4.553 GB, free: 126.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001674/13.21, allocations: 426 kB / 4.554 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/13.22, allocations: 1.392 MB / 4.555 GB, free: 125.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/13.22, allocations: 2.039 MB / 4.557 GB, free: 125.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/13.22, allocations: 1.739 MB / 4.559 GB, free: 125.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/13.22, allocations: 3.938 kB / 4.559 GB, free: 125.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.008163/13.23, allocations: 4.061 MB / 4.563 GB, free: 124.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001211/13.23, allocations: 6.556 MB / 4.569 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/13.23, allocations: 15.16 kB / 4.569 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/13.23, allocations: 113.6 kB / 4.569 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/13.23, allocations: 0.7946 MB / 4.57 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/13.24, allocations: 2.154 MB / 4.572 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00595/13.24, allocations: 0.5338 MB / 4.573 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007432/13.24, allocations: 156.2 kB / 4.573 GB, free: 115.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/13.24, allocations: 6.844 kB / 4.573 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006523/13.25, allocations: 3.715 MB / 4.577 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/13.25, allocations: 20.36 kB / 4.577 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/13.25, allocations: 110.7 kB / 4.577 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/13.25, allocations: 0.7839 MB / 4.577 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/13.26, allocations: 1.557 MB / 4.579 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/13.26, allocations: 0.4955 MB / 4.579 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006501/13.26, allocations: 161.9 kB / 4.58 GB, free: 114.5 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.001307/13.26, allocations: 280.8 kB / 4.58 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/13.27, allocations: 387.6 kB / 4.58 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/13.28, allocations: 4.727 MB / 4.585 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/13.28, allocations: 33.48 kB / 4.585 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/13.28, allocations: 3.609 kB / 4.585 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007356/13.28, allocations: 3.654 MB / 4.588 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/13.3, allocations: 9.549 MB / 4.598 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/13.3, allocations: 3.891 kB / 4.598 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/13.31, allocations: 0.6094 MB / 4.598 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/13.31, allocations: 0.6585 MB / 4.599 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006998/13.31, allocations: 94.91 kB / 4.599 GB, free: 112.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/13.31, allocations: 7.533 MB / 4.606 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/13.31, allocations: 4.938 kB / 4.606 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/13.33, allocations: 6.175 MB / 4.612 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006165/13.34, allocations: 1.138 MB / 4.614 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002392/13.34, allocations: 64.38 kB / 4.614 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005617/13.34, allocations: 323.1 kB / 4.614 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006717/13.34, allocations: 183.9 kB / 4.614 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006818/13.35, allocations: 136.8 kB / 4.614 GB, free: 105 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005392/13.35, allocations: 2.602 MB / 4.617 GB, free: 104.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/13.35, allocations: 0 / 4.617 GB, free: 104.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01223/13.36, allocations: 2.873 MB / 4.62 GB, free: 104.7 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.004168/13.37, allocations: 1.813 MB / 4.621 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01032/13.38, allocations: 5.795 MB / 4.627 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/13.38, allocations: 7.625 kB / 4.627 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/13.38, allocations: 1.959 MB / 4.629 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009842/13.39, allocations: 1.928 MB / 4.631 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/13.41, allocations: 8.062 MB / 4.639 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003003/13.41, allocations: 3.155 MB / 4.642 GB, free: 101.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01363/13.42, allocations: 3.643 MB / 4.645 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/13.43, allocations: 342.6 kB / 4.646 GB, free: 101.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/13.43, allocations: 0 / 4.646 GB, free: 101.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1462/13.57, allocations: 101.2 MB / 4.745 GB, free: 93.25 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)