Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.555/2.555, allocations: 284.8 MB / 297.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 176.8 kB / 365.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.1 MB / 0.6241 GB, free: 8.164 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 102.4 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.75e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8132/0.8133, allocations: 115.2 MB / 0.97 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.748/7.561, allocations: 2.11 GB / 3.08 GB, free: 281.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/7.562, allocations: 90.69 kB / 3.08 GB, free: 281.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.276/14.84, allocations: 1.412 GB / 4.491 GB, free: 30.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/14.84, allocations: 0 / 4.491 GB, free: 30.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008711/14.84, allocations: 127.9 kB / 4.491 GB, free: 30.55 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.0215/14.86, allocations: 5.515 MB / 4.497 GB, free: 24.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/14.86, allocations: 8.031 kB / 4.497 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/14.88, allocations: 1.601 MB / 4.498 GB, free: 23.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/14.9, allocations: 5.227 MB / 4.503 GB, free: 18.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/14.9, allocations: 283.5 kB / 4.504 GB, free: 17.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/14.9, allocations: 371.9 kB / 4.504 GB, free: 17.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/14.92, allocations: 5.125 MB / 4.509 GB, free: 12.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/14.92, allocations: 7.938 kB / 4.509 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/14.92, allocations: 164 kB / 4.509 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/14.92, allocations: 163.2 kB / 4.509 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/14.94, allocations: 4.744 MB / 4.514 GB, free: 7.043 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.8184/15.76, allocations: 19.21 MB / 4.533 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/15.77, allocations: 3.439 MB / 4.536 GB, free: 129 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005215/15.77, allocations: 1.704 MB / 4.538 GB, free: 129 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003666/15.78, allocations: 2.532 MB / 4.54 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007301/15.78, allocations: 1.923 MB / 4.542 GB, free: 126.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 8.315e-06/15.78, allocations: 0 / 4.542 GB, free: 126.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.01716/15.8, allocations: 3.788 MB / 4.546 GB, free: 125.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/15.8, allocations: 300.1 kB / 4.546 GB, free: 125.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009368/15.81, allocations: 3.308 MB / 4.549 GB, free: 125.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001109/15.81, allocations: 82.86 kB / 4.549 GB, free: 125.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00293/15.82, allocations: 1.951 MB / 4.551 GB, free: 124.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002109/15.82, allocations: 0.9617 MB / 4.552 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/15.82, allocations: 62.84 kB / 4.552 GB, free: 124.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002848/15.82, allocations: 423.8 kB / 4.553 GB, free: 124 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004237/15.82, allocations: 1.391 MB / 4.554 GB, free: 124 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005418/15.83, allocations: 2.044 MB / 4.556 GB, free: 123.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005354/15.83, allocations: 1.74 MB / 4.558 GB, free: 123.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.917e-05/15.83, allocations: 7.516 kB / 4.558 GB, free: 123.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01537/15.85, allocations: 4.054 MB / 4.562 GB, free: 123 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001491/15.85, allocations: 6.554 MB / 4.568 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-05/15.85, allocations: 17.56 kB / 4.568 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/15.85, allocations: 109.7 kB / 4.568 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008072/15.86, allocations: 0.7943 MB / 4.569 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/15.86, allocations: 2.158 MB / 4.571 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009037/15.87, allocations: 0.5307 MB / 4.572 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001182/15.87, allocations: 163.6 kB / 4.572 GB, free: 114.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/15.87, allocations: 3.75 kB / 4.572 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01283/15.89, allocations: 3.711 MB / 4.575 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/15.89, allocations: 18.03 kB / 4.576 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/15.89, allocations: 110.6 kB / 4.576 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007682/15.89, allocations: 0.7848 MB / 4.576 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/15.9, allocations: 1.562 MB / 4.578 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008613/15.91, allocations: 0.4953 MB / 4.578 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/15.91, allocations: 151.8 kB / 4.579 GB, free: 112.7 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.001502/15.91, allocations: 286.5 kB / 4.579 GB, free: 112.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/15.91, allocations: 393.4 kB / 4.579 GB, free: 112.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01996/15.93, allocations: 4.723 MB / 4.584 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/15.93, allocations: 29 kB / 4.584 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/15.93, allocations: 0 / 4.584 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01431/15.95, allocations: 3.662 MB / 4.587 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03314/15.98, allocations: 9.537 MB / 4.597 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/15.98, allocations: 3.391 kB / 4.597 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006928/15.99, allocations: 0.6172 MB / 4.597 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00494/15.99, allocations: 0.6523 MB / 4.598 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/15.99, allocations: 94.02 kB / 4.598 GB, free: 110.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006856/16, allocations: 7.528 MB / 4.605 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/16, allocations: 0 / 4.605 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/16.02, allocations: 6.193 MB / 4.611 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004869/16.03, allocations: 1.134 MB / 4.613 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002008/16.03, allocations: 61.48 kB / 4.613 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008153/16.04, allocations: 323.3 kB / 4.613 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/16.04, allocations: 186.7 kB / 4.613 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007752/16.04, allocations: 133.4 kB / 4.613 GB, free: 103.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008242/16.05, allocations: 2.608 MB / 4.616 GB, free: 103.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.002e-06/16.05, allocations: 0 / 4.616 GB, free: 103.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01704/16.06, allocations: 2.868 MB / 4.619 GB, free: 102.9 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.006141/16.07, allocations: 1.804 MB / 4.62 GB, free: 102.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01945/16.09, allocations: 5.8 MB / 4.626 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/16.09, allocations: 3.781 kB / 4.626 GB, free: 102.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.007081/16.1, allocations: 1.957 MB / 4.628 GB, free: 102.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/16.11, allocations: 1.944 MB / 4.63 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/16.14, allocations: 8.054 MB / 4.638 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005487/16.14, allocations: 3.15 MB / 4.641 GB, free: 99.88 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02237/16.17, allocations: 3.643 MB / 4.644 GB, free: 99.76 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002677/16.17, allocations: 337 kB / 4.645 GB, free: 99.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/16.17, allocations: 3.719 kB / 4.645 GB, free: 99.75 MB / 0.948 GB Notification: Performance of Templates: time 0.2391/16.41, allocations: 101.2 MB / 4.743 GB, free: 93.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)