Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.735/0.735, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001007/0.001007, allocations: 171 kB / 171.8 MB, free: 2.047 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.4/1.4, allocations: 170.6 MB / 374.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001788/0.001788, allocations: 127.2 kB / 444.8 MB, free: 9.277 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4415/0.4416, allocations: 73.4 MB / 0.6666 GB, free: 46.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/5.76, allocations: 2.166 GB / 2.833 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/5.76, allocations: 90.34 kB / 2.833 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.816/8.576, allocations: 0.7642 GB / 3.597 GB, free: 74.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/8.576, allocations: 0 / 3.597 GB, free: 74.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0008404/8.577, allocations: 126.8 kB / 3.598 GB, free: 74 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 950 * Number of variables: 950 Notification: Performance of Generate backend data structure: time 0.02075/8.598, allocations: 5.56 MB / 3.603 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/8.598, allocations: 9.875 kB / 3.603 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/8.612, allocations: 1.688 MB / 3.605 GB, free: 71.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04415/8.657, allocations: 16.89 MB / 3.621 GB, free: 70.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/8.657, allocations: 122.4 kB / 3.621 GB, free: 70.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001978/8.659, allocations: 229.5 kB / 3.621 GB, free: 70.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01079/8.67, allocations: 4.377 MB / 3.626 GB, free: 70.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/8.685, allocations: 4.508 MB / 3.63 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/8.685, allocations: 7.812 kB / 3.63 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/8.686, allocations: 10.75 kB / 3.63 GB, free: 69.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/8.686, allocations: 91.12 kB / 3.63 GB, free: 69.67 MB / 0.6355 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.04053/8.727, allocations: 19.66 MB / 3.649 GB, free: 62.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006036/8.733, allocations: 3.233 MB / 3.653 GB, free: 62.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/8.736, allocations: 1.555 MB / 3.654 GB, free: 62.74 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/8.737, allocations: 1.553 MB / 3.656 GB, free: 61.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003721/8.741, allocations: 1.853 MB / 3.657 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=271): time 7.364e-06/8.741, allocations: 0 / 3.657 GB, free: 60.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=271): time 0.03132/8.773, allocations: 5.894 MB / 3.663 GB, free: 60.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/8.773, allocations: 370.2 kB / 3.664 GB, free: 60.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006732/8.779, allocations: 2.768 MB / 3.666 GB, free: 58.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/8.781, allocations: 32.64 kB / 3.666 GB, free: 58.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002444/8.783, allocations: 1.88 MB / 3.668 GB, free: 57.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/8.785, allocations: 0.8904 MB / 3.669 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008674/8.786, allocations: 0 / 3.669 GB, free: 56.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003617/8.786, allocations: 436.5 kB / 3.669 GB, free: 56.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/8.789, allocations: 1.457 MB / 3.671 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/8.792, allocations: 2.13 MB / 3.673 GB, free: 54.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02307/8.816, allocations: 4.249 MB / 3.677 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.862e-05/8.816, allocations: 6.812 kB / 3.677 GB, free: 53.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=406) (initialization): time 0.03321/8.849, allocations: 6.911 MB / 3.684 GB, free: 51.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001466/8.85, allocations: 7.089 MB / 3.691 GB, free: 44.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.943e-05/8.85, allocations: 21.05 kB / 3.691 GB, free: 44.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002475/8.853, allocations: 0.523 MB / 3.691 GB, free: 44.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005856/8.859, allocations: 1.049 MB / 3.692 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/8.865, allocations: 5.213 MB / 3.697 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006058/8.871, allocations: 437.5 kB / 3.698 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/8.872, allocations: 172.2 kB / 3.698 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/8.872, allocations: 5.906 kB / 3.698 GB, free: 39.84 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03113/8.903, allocations: 6.542 MB / 3.704 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.764e-05/8.903, allocations: 15.23 kB / 3.704 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/8.906, allocations: 0.5635 MB / 3.705 GB, free: 38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/8.91, allocations: 0.8276 MB / 3.706 GB, free: 37.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/8.915, allocations: 4.548 MB / 3.71 GB, free: 33.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005672/8.921, allocations: 393.8 kB / 3.711 GB, free: 32.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/8.922, allocations: 164.6 kB / 3.711 GB, free: 32.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 383 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {1 17,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001717/8.924, allocations: 182.3 kB / 3.711 GB, free: 32.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/8.926, allocations: 355.6 kB / 3.711 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03259/8.958, allocations: 6.609 MB / 3.718 GB, free: 27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/8.958, allocations: 28 kB / 3.718 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/8.958, allocations: 2.562 kB / 3.718 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02818/8.987, allocations: 5.741 MB / 3.723 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04083/9.027, allocations: 10.78 MB / 3.734 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/9.028, allocations: 8.062 kB / 3.734 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005082/9.033, allocations: 0.8281 MB / 3.735 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001377/9.034, allocations: 448.4 kB / 3.735 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007588/9.035, allocations: 73.03 kB / 3.735 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00804/9.043, allocations: 8.26 MB / 3.743 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/9.043, allocations: 4.031 kB / 3.743 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03616/9.079, allocations: 8.147 MB / 3.751 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003986/9.083, allocations: 1.089 MB / 3.752 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001824/9.085, allocations: 4 kB / 3.752 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005393/9.09, allocations: 259.4 kB / 3.752 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006886/9.091, allocations: 174 kB / 3.753 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007997/9.092, allocations: 143.8 kB / 3.753 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.005857/9.098, allocations: 2.119 MB / 3.755 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/9.098, allocations: 0 / 3.755 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01574/9.114, allocations: 2.767 MB / 3.758 GB, free: 5.887 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 2,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.005422/9.119, allocations: 1.758 MB / 3.759 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.4105/9.53, allocations: 6.722 MB / 3.766 GB, free: 82.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/9.53, allocations: 3.656 kB / 3.766 GB, free: 82.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006235/9.536, allocations: 2.162 MB / 3.768 GB, free: 81.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009462/9.545, allocations: 1.623 MB / 3.77 GB, free: 81.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/9.563, allocations: 7.646 MB / 3.777 GB, free: 80.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/9.567, allocations: 3.091 MB / 3.78 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.01287/9.58, allocations: 3.269 MB / 3.783 GB, free: 79.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/9.581, allocations: 336.7 kB / 3.784 GB, free: 79.73 MB / 0.6511 GB Notification: Performance of SimCode: time 9.21e-07/9.581, allocations: 1.125 kB / 3.784 GB, free: 79.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.1352/9.716, allocations: 87.67 MB / 3.869 GB, free: 74.95 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)