Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001175/0.001175, allocations: 184.4 kB / 366.7 MB, free: 1.641 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.683/1.683, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008965/0.0008965, allocations: 88.34 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.973e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8108/0.8109, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.879/6.689, allocations: 2.358 GB / 3.331 GB, free: 83.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.69, allocations: 91.19 kB / 3.331 GB, free: 83.66 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.397/10.09, allocations: 0.9199 GB / 4.251 GB, free: 186.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/10.09, allocations: 0 / 4.251 GB, free: 186.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008038/10.09, allocations: 129.4 kB / 4.251 GB, free: 186.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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01452/10.1, allocations: 4.23 MB / 4.255 GB, free: 185 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/10.1, allocations: 10.69 kB / 4.255 GB, free: 185 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008064/10.11, allocations: 1.146 MB / 4.256 GB, free: 184.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/10.12, allocations: 5.344 MB / 4.261 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/10.12, allocations: 118.3 kB / 4.261 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/10.13, allocations: 219 kB / 4.262 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01047/10.14, allocations: 4.306 MB / 4.266 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/10.15, allocations: 4.494 MB / 4.27 GB, free: 183.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/10.15, allocations: 15.16 kB / 4.27 GB, free: 183.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/10.15, allocations: 7.469 kB / 4.27 GB, free: 183.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/10.15, allocations: 173.3 kB / 4.27 GB, free: 183.5 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.02754/10.18, allocations: 18.79 MB / 4.289 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/10.18, allocations: 3.132 MB / 4.292 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/10.19, allocations: 1.588 MB / 4.293 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/10.19, allocations: 1.859 MB / 4.295 GB, free: 174.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002472/10.19, allocations: 1.755 MB / 4.297 GB, free: 173.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 5.14e-06/10.19, allocations: 0 / 4.297 GB, free: 173.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.05625/10.25, allocations: 7.31 MB / 4.304 GB, free: 172.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/10.25, allocations: 291.2 kB / 4.304 GB, free: 171.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/10.25, allocations: 2.958 MB / 4.307 GB, free: 170.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006824/10.25, allocations: 25.7 kB / 4.307 GB, free: 170.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/10.25, allocations: 1.943 MB / 4.309 GB, free: 169.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/10.25, allocations: 0.8687 MB / 4.31 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/10.25, allocations: 0 / 4.31 GB, free: 168.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001435/10.25, allocations: 430.6 kB / 4.31 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/10.26, allocations: 1.26 MB / 4.312 GB, free: 167.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/10.26, allocations: 1.931 MB / 4.314 GB, free: 166.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05433/10.31, allocations: 5.961 MB / 4.319 GB, free: 165.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.712e-05/10.31, allocations: 5.75 kB / 4.319 GB, free: 165.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.05842/10.37, allocations: 7.982 MB / 4.327 GB, free: 163.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001327/10.37, allocations: 7.288 MB / 4.334 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/10.37, allocations: 18.66 kB / 4.334 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/10.37, allocations: 113.8 kB / 4.334 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/10.38, allocations: 0.7843 MB / 4.335 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/10.38, allocations: 2.101 MB / 4.337 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/10.38, allocations: 423 kB / 4.338 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005685/10.38, allocations: 142.5 kB / 4.338 GB, free: 154.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/10.38, allocations: 9.734 kB / 4.338 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0571/10.44, allocations: 7.608 MB / 4.345 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.168e-05/10.44, allocations: 20.53 kB / 4.345 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/10.44, allocations: 112.2 kB / 4.345 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/10.45, allocations: 0.7796 MB / 4.346 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/10.45, allocations: 1.511 MB / 4.348 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/10.45, allocations: 381.4 kB / 4.348 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/10.45, allocations: 143.2 kB / 4.348 GB, free: 150.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (365): * Single equations (assignments): 363 * 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.0008068/10.45, allocations: 185 kB / 4.348 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008489/10.45, allocations: 355.7 kB / 4.349 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05793/10.51, allocations: 8.025 MB / 4.356 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/10.51, allocations: 31.31 kB / 4.356 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/10.51, allocations: 0 / 4.356 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05548/10.57, allocations: 7.24 MB / 4.364 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06479/10.63, allocations: 12.24 MB / 4.375 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/10.63, allocations: 3.75 kB / 4.375 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003125/10.64, allocations: 0.6229 MB / 4.376 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/10.64, allocations: 88.77 kB / 4.376 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/10.64, allocations: 59.92 kB / 4.376 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/10.64, allocations: 2.093 MB / 4.378 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/10.64, allocations: 4.062 kB / 4.378 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05958/10.7, allocations: 9.521 MB / 4.388 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/10.7, allocations: 1.052 MB / 4.389 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/10.7, allocations: 11.98 kB / 4.389 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002942/10.7, allocations: 283.1 kB / 4.389 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/10.7, allocations: 177.4 kB / 4.389 GB, free: 122.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/10.7, allocations: 131.9 kB / 4.389 GB, free: 122.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002946/10.71, allocations: 2.28 MB / 4.391 GB, free: 120.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/10.71, allocations: 0 / 4.391 GB, free: 120.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006218/10.71, allocations: 2.305 MB / 4.394 GB, free: 118.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002962/10.72, allocations: 1.637 MB / 4.395 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007612/10.72, allocations: 5.264 MB / 4.4 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/10.72, allocations: 5.109 kB / 4.4 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/10.73, allocations: 1.667 MB / 4.402 GB, free: 110 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008013/10.73, allocations: 1.757 MB / 4.404 GB, free: 108.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/10.75, allocations: 7.656 MB / 4.411 GB, free: 100.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/10.75, allocations: 3.111 MB / 4.414 GB, free: 97.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008611/10.76, allocations: 2.751 MB / 4.417 GB, free: 94.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009603/10.76, allocations: 299.3 kB / 4.417 GB, free: 94.58 MB / 0.948 GB Notification: Performance of SimCode: time 9.51e-07/10.76, allocations: 0 / 4.417 GB, free: 94.58 MB / 0.948 GB Notification: Performance of Templates: time 0.1067/10.86, allocations: 79.14 MB / 4.495 GB, free: 16.69 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)