Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8454/0.8454, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.001401/0.0014, allocations: 172.1 kB / 180.8 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.829/1.829, allocations: 170.7 MB / 383.7 MB, free: 16.13 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.001743/0.001743, allocations: 120.4 kB / 454.6 MB, free: 9.707 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.2/0.2005, allocations: 73.41 MB / 0.6812 GB, free: 5.547 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.932/7.133, allocations: 2.41 GB / 3.091 GB, free: 33.51 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/7.133, allocations: 101.8 kB / 3.091 GB, free: 33.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.912/9.045, allocations: 0.508 GB / 3.599 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.436e-06/9.045, allocations: 0 / 3.599 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0008723/9.046, allocations: 115.9 kB / 3.599 GB, free: 10.39 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01966/9.066, allocations: 5.155 MB / 3.604 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/9.066, allocations: 12.02 kB / 3.604 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/9.076, allocations: 1.367 MB / 3.605 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.527/9.603, allocations: 12.15 MB / 3.617 GB, free: 63.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/9.604, allocations: 285 kB / 3.617 GB, free: 63.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/9.606, allocations: 380.9 kB / 3.618 GB, free: 63.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/9.623, allocations: 5.36 MB / 3.623 GB, free: 62.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/9.623, allocations: 19.47 kB / 3.623 GB, free: 62.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007043/9.624, allocations: 158.4 kB / 3.623 GB, free: 62.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/9.624, allocations: 117.3 kB / 3.623 GB, free: 62.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/9.643, allocations: 5.315 MB / 3.629 GB, free: 62.75 MB / 0.6198 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.0402/9.683, allocations: 19.3 MB / 3.647 GB, free: 55.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00879/9.692, allocations: 3.451 MB / 3.651 GB, free: 55.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/9.693, allocations: 1.033 MB / 3.652 GB, free: 54.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006075/9.699, allocations: 2.227 MB / 3.654 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=269): time 5.911e-06/9.699, allocations: 0 / 3.654 GB, free: 53.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=287): time 0.03476/9.734, allocations: 11.58 MB / 3.665 GB, free: 52.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/9.734, allocations: 294 kB / 3.666 GB, free: 52.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/9.741, allocations: 3.315 MB / 3.669 GB, free: 51.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/9.742, allocations: 89.23 kB / 3.669 GB, free: 51.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002255/9.745, allocations: 1.844 MB / 3.671 GB, free: 51.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001761/9.746, allocations: 0.9703 MB / 3.672 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/9.747, allocations: 67.03 kB / 3.672 GB, free: 50.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002117/9.747, allocations: 438.1 kB / 3.672 GB, free: 50.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004187/9.751, allocations: 1.871 MB / 3.674 GB, free: 50.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004752/9.756, allocations: 2.591 MB / 3.676 GB, free: 49.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00483/9.761, allocations: 2.269 MB / 3.679 GB, free: 49.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/9.761, allocations: 6.344 kB / 3.679 GB, free: 49.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.0148/9.776, allocations: 5.515 MB / 3.684 GB, free: 49.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001728/9.777, allocations: 7.675 MB / 3.692 GB, free: 40.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.282e-05/9.777, allocations: 22.47 kB / 3.692 GB, free: 40.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/9.78, allocations: 0.5373 MB / 3.692 GB, free: 40.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006077/9.786, allocations: 0.8952 MB / 3.693 GB, free: 40.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007184/9.794, allocations: 4.88 MB / 3.698 GB, free: 38.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/9.8, allocations: 347.6 kB / 3.698 GB, free: 38.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/9.802, allocations: 158.5 kB / 3.698 GB, free: 38.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/9.802, allocations: 4.188 kB / 3.698 GB, free: 38.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01501/9.817, allocations: 5.12 MB / 3.703 GB, free: 38.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-05/9.817, allocations: 20.39 kB / 3.703 GB, free: 38.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/9.82, allocations: 0.5679 MB / 3.704 GB, free: 38.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005232/9.825, allocations: 0.8839 MB / 3.705 GB, free: 38.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006547/9.831, allocations: 4.919 MB / 3.709 GB, free: 35.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007759/9.839, allocations: 327.4 kB / 3.71 GB, free: 35.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/9.841, allocations: 156.4 kB / 3.71 GB, free: 35.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (394): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 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.006633/9.848, allocations: 1.503 MB / 3.711 GB, free: 35.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002411/9.85, allocations: 384 kB / 3.712 GB, free: 35.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/9.866, allocations: 5.33 MB / 3.717 GB, free: 34.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/9.866, allocations: 33.95 kB / 3.717 GB, free: 34.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/9.866, allocations: 2.594 kB / 3.717 GB, free: 34.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009965/9.876, allocations: 4.357 MB / 3.721 GB, free: 34.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/9.9, allocations: 10.34 MB / 3.731 GB, free: 32.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/9.9, allocations: 7.625 kB / 3.731 GB, free: 32.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00394/9.904, allocations: 0.7071 MB / 3.732 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/9.905, allocations: 495.1 kB / 3.733 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004176/9.906, allocations: 110.3 kB / 3.733 GB, free: 32.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/9.911, allocations: 6.808 MB / 3.739 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/9.911, allocations: 15.19 kB / 3.739 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/9.927, allocations: 8.153 MB / 3.747 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004358/9.932, allocations: 1.068 MB / 3.748 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/9.933, allocations: 76.02 kB / 3.748 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004758/9.938, allocations: 338.3 kB / 3.749 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004335/9.939, allocations: 219.9 kB / 3.749 GB, free: 36.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/9.939, allocations: 134.6 kB / 3.749 GB, free: 36.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004717/9.944, allocations: 2.615 MB / 3.752 GB, free: 36.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/9.944, allocations: 0 / 3.752 GB, free: 36.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.011/9.955, allocations: 2.109 MB / 3.754 GB, free: 35.78 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003808/9.959, allocations: 1.622 MB / 3.755 GB, free: 35.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02118/9.98, allocations: 7.826 MB / 3.763 GB, free: 32.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.11e-05/9.98, allocations: 2.938 kB / 3.763 GB, free: 32.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006892/9.987, allocations: 2.33 MB / 3.765 GB, free: 31.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01392/10, allocations: 2.027 MB / 3.767 GB, free: 31.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/10.03, allocations: 11.78 MB / 3.779 GB, free: 25.12 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003237/10.04, allocations: 3.11 MB / 3.782 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.009504/10.05, allocations: 2.069 MB / 3.784 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/10.05, allocations: 402.4 kB / 3.784 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.744e-06/10.05, allocations: 4 kB / 3.784 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.6303/10.68, allocations: 99.13 MB / 3.881 GB, free: 70.56 MB / 0.6511 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)