Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001371, allocations: 166.5 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.43/2.43, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009738/0.0009733, allocations: 97.84 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006268/0.000627, allocations: 13.88 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.21, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.248/7.458, allocations: 2.228 GB / 3.127 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/7.458, allocations: 99.42 kB / 3.127 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.262/13.72, allocations: 1.283 GB / 4.41 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.975e-06/13.72, allocations: 4 kB / 4.41 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000924/13.72, allocations: 119.9 kB / 4.41 GB, free: 34.36 MB / 0.8855 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.02715/13.75, allocations: 6.348 MB / 4.417 GB, free: 27.93 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/13.75, allocations: 12.03 kB / 4.417 GB, free: 27.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/13.77, allocations: 1.602 MB / 4.418 GB, free: 26.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02312/13.79, allocations: 5.516 MB / 4.424 GB, free: 20.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004258/13.79, allocations: 279.5 kB / 4.424 GB, free: 20.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/13.79, allocations: 375.9 kB / 4.424 GB, free: 20.09 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/13.81, allocations: 5.483 MB / 4.43 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/13.81, allocations: 3.938 kB / 4.43 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/13.82, allocations: 164 kB / 4.43 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/13.82, allocations: 155.3 kB / 4.43 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02201/13.84, allocations: 5.321 MB / 4.435 GB, free: 8.797 MB / 0.8855 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.7831/14.62, allocations: 19.08 MB / 4.454 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/14.64, allocations: 3.798 MB / 4.457 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00797/14.65, allocations: 1.906 MB / 4.459 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003508/14.65, allocations: 2.535 MB / 4.462 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009243/14.66, allocations: 2.125 MB / 4.464 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 8.055e-06/14.66, allocations: 3.562 kB / 4.464 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.03231/14.69, allocations: 6.831 MB / 4.47 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/14.69, allocations: 290.1 kB / 4.471 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/14.7, allocations: 3.612 MB / 4.474 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/14.7, allocations: 81.98 kB / 4.474 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003125/14.71, allocations: 1.947 MB / 4.476 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/14.71, allocations: 0.9687 MB / 4.477 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/14.71, allocations: 57.78 kB / 4.477 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002937/14.71, allocations: 428.5 kB / 4.478 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006962/14.72, allocations: 1.598 MB / 4.479 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00781/14.72, allocations: 2.259 MB / 4.481 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007833/14.73, allocations: 1.936 MB / 4.483 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-05/14.73, allocations: 6.562 kB / 4.483 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.02024/14.75, allocations: 4.475 MB / 4.488 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003639/14.75, allocations: 0.5361 MB / 4.488 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/14.75, allocations: 13.88 kB / 4.488 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/14.75, allocations: 107.2 kB / 4.488 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008278/14.76, allocations: 0.8085 MB / 4.489 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/14.76, allocations: 2.162 MB / 4.491 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009166/14.77, allocations: 0.5012 MB / 4.492 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/14.77, allocations: 152 kB / 4.492 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/14.77, allocations: 7.219 kB / 4.492 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01917/14.79, allocations: 4.134 MB / 4.496 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/14.79, allocations: 15 kB / 4.496 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/14.79, allocations: 108.2 kB / 4.496 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007762/14.8, allocations: 0.7895 MB / 4.497 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/14.81, allocations: 1.567 MB / 4.498 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008526/14.81, allocations: 481 kB / 4.499 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/14.82, allocations: 156.1 kB / 4.499 GB, free: 110.3 MB / 0.8855 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.0048/14.82, allocations: 1.524 MB / 4.5 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/14.82, allocations: 392.2 kB / 4.501 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02244/14.84, allocations: 5.137 MB / 4.506 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/14.84, allocations: 34.23 kB / 4.506 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/14.84, allocations: 0 / 4.506 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01777/14.86, allocations: 4.066 MB / 4.51 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03417/14.9, allocations: 9.867 MB / 4.519 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/14.9, allocations: 0 / 4.519 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006805/14.9, allocations: 0.6134 MB / 4.52 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00478/14.91, allocations: 0.6764 MB / 4.521 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008675/14.91, allocations: 97.23 kB / 4.521 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/14.92, allocations: 7.534 MB / 4.528 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/14.92, allocations: 4.406 kB / 4.528 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02792/14.94, allocations: 6.75 MB / 4.535 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004523/14.95, allocations: 1.087 MB / 4.536 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002116/14.95, allocations: 58.28 kB / 4.536 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008132/14.96, allocations: 317.9 kB / 4.536 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/14.96, allocations: 189.8 kB / 4.536 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006758/14.96, allocations: 141.1 kB / 4.536 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007316/14.97, allocations: 2.539 MB / 4.539 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.82e-07/14.97, allocations: 2.094 kB / 4.539 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01594/14.98, allocations: 2.84 MB / 4.542 GB, free: 100.5 MB / 0.8855 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.006336/14.99, allocations: 1.83 MB / 4.544 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02533/15.01, allocations: 6.305 MB / 4.55 GB, free: 100 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/15.02, allocations: 8.219 kB / 4.55 GB, free: 100 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.009174/15.02, allocations: 2.159 MB / 4.552 GB, free: 99.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02007/15.04, allocations: 1.987 MB / 4.554 GB, free: 99.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03294/15.08, allocations: 11.4 MB / 4.565 GB, free: 95.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006006/15.08, allocations: 3.059 MB / 4.568 GB, free: 95.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01611/15.1, allocations: 2.384 MB / 4.57 GB, free: 94.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/15.1, allocations: 426.5 kB / 4.571 GB, free: 94.98 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/15.1, allocations: 3.938 kB / 4.571 GB, free: 94.98 MB / 0.8855 GB Notification: Performance of Templates: time 0.2206/15.32, allocations: 92.02 MB / 4.66 GB, free: 83.88 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)