Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 293 MB / 309 MB, free: 4.781 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.001134/0.001134, allocations: 179.1 kB / 378.7 MB, free: 1 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.974/1.974, allocations: 205.4 MB / 0.6383 GB, free: 9.137 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.0009082/0.0009087, allocations: 88.31 kB / 0.7527 GB, free: 62.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005933/0.0005938, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3152, allocations: 116.4 MB / 0.9904 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.073/6.388, allocations: 2.111 GB / 3.101 GB, free: 102.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/6.389, allocations: 92.47 kB / 3.101 GB, free: 102.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.266/11.66, allocations: 1.283 GB / 4.385 GB, free: 108.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.559e-06/11.66, allocations: 0 / 4.385 GB, free: 108.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0013/11.66, allocations: 127.5 kB / 4.385 GB, free: 108.3 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.03338/11.69, allocations: 6.303 MB / 4.391 GB, free: 106 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/11.69, allocations: 7.781 kB / 4.391 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/11.71, allocations: 1.603 MB / 4.393 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/11.73, allocations: 5.622 MB / 4.398 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005306/11.73, allocations: 284 kB / 4.398 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002549/11.73, allocations: 379.6 kB / 4.399 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02599/11.76, allocations: 5.479 MB / 4.404 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000412/11.76, allocations: 7.688 kB / 4.404 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00261/11.76, allocations: 159.8 kB / 4.404 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004234/11.76, allocations: 159.3 kB / 4.404 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/11.78, allocations: 5.327 MB / 4.41 GB, free: 104.2 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.06011/11.84, allocations: 19.09 MB / 4.428 GB, free: 98.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/11.86, allocations: 3.803 MB / 4.432 GB, free: 98.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/11.86, allocations: 1.904 MB / 4.434 GB, free: 98.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002733/11.86, allocations: 2.535 MB / 4.436 GB, free: 95.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006612/11.87, allocations: 2.129 MB / 4.438 GB, free: 95.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 9.568e-06/11.87, allocations: 0 / 4.438 GB, free: 95.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.02388/11.89, allocations: 6.825 MB / 4.445 GB, free: 94.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/11.89, allocations: 296.2 kB / 4.445 GB, free: 93.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/11.91, allocations: 3.607 MB / 4.449 GB, free: 93.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00145/11.91, allocations: 81.61 kB / 4.449 GB, free: 93.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003808/11.91, allocations: 1.954 MB / 4.451 GB, free: 92.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002473/11.91, allocations: 0.9605 MB / 4.452 GB, free: 92.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009596/11.91, allocations: 60.34 kB / 4.452 GB, free: 92.36 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004348/11.92, allocations: 434.1 kB / 4.452 GB, free: 92.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004483/11.92, allocations: 1.596 MB / 4.454 GB, free: 92.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004985/11.92, allocations: 2.255 MB / 4.456 GB, free: 91.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009739/11.93, allocations: 3.925 MB / 4.46 GB, free: 90.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.845e-05/11.93, allocations: 3.344 kB / 4.46 GB, free: 90.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.015/11.95, allocations: 4.47 MB / 4.464 GB, free: 90.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004533/11.95, allocations: 0.5396 MB / 4.465 GB, free: 89.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/11.95, allocations: 14.19 kB / 4.465 GB, free: 89.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006691/11.95, allocations: 109.8 kB / 4.465 GB, free: 89.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/11.96, allocations: 0.8076 MB / 4.466 GB, free: 89.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/11.96, allocations: 2.161 MB / 4.468 GB, free: 87.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006714/11.96, allocations: 0.5038 MB / 4.468 GB, free: 87.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/11.97, allocations: 154.5 kB / 4.468 GB, free: 87.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/11.97, allocations: 3.75 kB / 4.468 GB, free: 87.77 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01337/11.98, allocations: 4.131 MB / 4.472 GB, free: 87.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.04e-05/11.98, allocations: 13.72 kB / 4.472 GB, free: 87.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/11.98, allocations: 109.6 kB / 4.473 GB, free: 87.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/11.98, allocations: 0.7895 MB / 4.473 GB, free: 87.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/11.99, allocations: 1.568 MB / 4.475 GB, free: 86.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/11.99, allocations: 485.4 kB / 4.475 GB, free: 86.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/11.99, allocations: 158.9 kB / 4.476 GB, free: 86.24 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.00532/12, allocations: 1.517 MB / 4.477 GB, free: 86.05 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002507/12, allocations: 393 kB / 4.477 GB, free: 85.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/12.02, allocations: 5.114 MB / 4.482 GB, free: 84.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/12.02, allocations: 36.66 kB / 4.482 GB, free: 84.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/12.02, allocations: 0 / 4.482 GB, free: 84.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01118/12.03, allocations: 4.082 MB / 4.486 GB, free: 82.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02879/12.06, allocations: 9.85 MB / 4.496 GB, free: 78.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/12.06, allocations: 0 / 4.496 GB, free: 78.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/12.06, allocations: 0.6135 MB / 4.497 GB, free: 78.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002978/12.07, allocations: 0.673 MB / 4.497 GB, free: 78.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000971/12.07, allocations: 95.98 kB / 4.497 GB, free: 78.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004828/12.07, allocations: 7.543 MB / 4.505 GB, free: 71.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/12.07, allocations: 0 / 4.505 GB, free: 71.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/12.09, allocations: 6.744 MB / 4.511 GB, free: 68.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004906/12.1, allocations: 1.086 MB / 4.512 GB, free: 68.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002757/12.1, allocations: 68 kB / 4.512 GB, free: 68.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005988/12.1, allocations: 311 kB / 4.513 GB, free: 68.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009432/12.11, allocations: 189.6 kB / 4.513 GB, free: 68.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009128/12.11, allocations: 139.6 kB / 4.513 GB, free: 68.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006841/12.11, allocations: 2.54 MB / 4.516 GB, free: 67.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/12.11, allocations: 0 / 4.516 GB, free: 67.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01715/12.13, allocations: 2.846 MB / 4.518 GB, free: 66.46 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.007335/12.14, allocations: 1.828 MB / 4.52 GB, free: 65.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02032/12.16, allocations: 6.298 MB / 4.526 GB, free: 63.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/12.16, allocations: 4.125 kB / 4.526 GB, free: 63.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006925/12.17, allocations: 2.165 MB / 4.528 GB, free: 62.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01669/12.18, allocations: 1.943 MB / 4.53 GB, free: 62.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02906/12.21, allocations: 11.41 MB / 4.541 GB, free: 57.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/12.22, allocations: 3.064 MB / 4.544 GB, free: 56.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01389/12.23, allocations: 2.39 MB / 4.547 GB, free: 55.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004157/12.24, allocations: 412.8 kB / 4.547 GB, free: 55.93 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-06/12.24, allocations: 0 / 4.547 GB, free: 55.93 MB / 0.948 GB Notification: Performance of Templates: time 0.1642/12.4, allocations: 93.09 MB / 4.638 GB, free: 4.016 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)