Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8101/0.8101, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001174/0.001174, allocations: 175 kB / 180.9 MB, free: 15.11 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.58/1.58, 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.00166/0.00166, allocations: 109.9 kB / 454.6 MB, free: 9.691 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.1818/0.1823, allocations: 73.41 MB / 0.6812 GB, free: 5.535 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.928/6.11, allocations: 2.132 GB / 2.813 GB, free: 72.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/6.111, allocations: 96.53 kB / 2.813 GB, free: 72.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.6502/6.761, allocations: 88.22 MB / 2.899 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.026e-06/6.761, allocations: 1.156 kB / 2.899 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.441e-05/6.761, allocations: 26.94 kB / 2.899 GB, free: 166.2 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002518/6.764, allocations: 1.208 MB / 2.901 GB, free: 165.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/6.764, allocations: 9.375 kB / 2.901 GB, free: 165.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/6.766, allocations: 308.2 kB / 2.901 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/6.767, allocations: 0.5389 MB / 2.901 GB, free: 165.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/6.767, allocations: 59.59 kB / 2.901 GB, free: 165.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/6.767, allocations: 81.62 kB / 2.902 GB, free: 165.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/6.769, allocations: 0.8803 MB / 2.902 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/6.769, allocations: 5.812 kB / 2.902 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/6.769, allocations: 35.25 kB / 2.902 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/6.769, allocations: 19.53 kB / 2.902 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/6.771, allocations: 1.174 MB / 2.904 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/6.776, allocations: 2.47 MB / 2.906 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/6.78, allocations: 0.8659 MB / 2.907 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/6.781, allocations: 0.659 MB / 2.908 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/6.783, allocations: 0.4936 MB / 2.908 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 5.721e-06/6.783, allocations: 0 / 2.908 GB, free: 163.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.006205/6.789, allocations: 1.23 MB / 2.909 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/6.789, allocations: 165.2 kB / 2.909 GB, free: 163.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/6.79, allocations: 0.5274 MB / 2.91 GB, free: 163.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/6.791, allocations: 42.7 kB / 2.91 GB, free: 163.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/6.791, allocations: 353.8 kB / 2.91 GB, free: 162.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/6.791, allocations: 235 kB / 2.91 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/6.791, allocations: 15.97 kB / 2.91 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001776/6.792, allocations: 378.7 kB / 2.911 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/6.793, allocations: 293 kB / 2.911 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/6.794, allocations: 372.9 kB / 2.911 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/6.796, allocations: 380.9 kB / 2.912 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/6.796, allocations: 0 / 2.912 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00419/6.8, allocations: 0.9585 MB / 2.913 GB, free: 162.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/6.8, allocations: 60.41 kB / 2.913 GB, free: 162.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/6.8, allocations: 3.594 kB / 2.913 GB, free: 162.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/6.801, allocations: 80.81 kB / 2.913 GB, free: 162.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/6.802, allocations: 154.8 kB / 2.913 GB, free: 162.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/6.805, allocations: 1.433 MB / 2.914 GB, free: 160.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/6.806, allocations: 86.94 kB / 2.915 GB, free: 160.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/6.807, allocations: 31.2 kB / 2.915 GB, free: 160.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009311/6.808, allocations: 244.3 kB / 2.915 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/6.808, allocations: 73.28 kB / 2.915 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/6.812, allocations: 1.093 MB / 2.916 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/6.812, allocations: 9.188 kB / 2.916 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/6.812, allocations: 0 / 2.916 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/6.813, allocations: 3.375 kB / 2.916 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/6.814, allocations: 0.8605 MB / 2.917 GB, free: 160.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/6.814, allocations: 0 / 2.917 GB, free: 160.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/6.816, allocations: 161.5 kB / 2.917 GB, free: 160.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008157/6.817, allocations: 76.84 kB / 2.917 GB, free: 160.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/6.817, allocations: 23.75 kB / 2.917 GB, free: 160.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/6.819, allocations: 1.469 MB / 2.918 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/6.819, allocations: 0 / 2.918 GB, free: 159 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/6.823, allocations: 0.9222 MB / 2.919 GB, free: 158.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007963/6.824, allocations: 284.1 kB / 2.92 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/6.824, allocations: 17.42 kB / 2.92 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/6.825, allocations: 73.42 kB / 2.92 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/6.825, allocations: 54.48 kB / 2.92 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/6.825, allocations: 36.78 kB / 2.92 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009677/6.826, allocations: 437.3 kB / 2.92 GB, free: 158.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/6.826, allocations: 0 / 2.92 GB, free: 158.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002144/6.829, allocations: 379.3 kB / 2.921 GB, free: 158.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003411/6.832, allocations: 1.085 MB / 2.922 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003504/6.835, allocations: 0.9441 MB / 2.923 GB, free: 158 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/6.836, allocations: 0 / 2.923 GB, free: 158 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/6.837, allocations: 0.5282 MB / 2.923 GB, free: 157.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/6.839, allocations: 185.2 kB / 2.923 GB, free: 157.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007952/6.847, allocations: 2.114 MB / 2.925 GB, free: 157 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009253/6.848, allocations: 1.004 MB / 2.926 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002426/6.85, allocations: 248.2 kB / 2.927 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/6.851, allocations: 88.55 kB / 2.927 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of SimCode: time 3.967e-06/6.851, allocations: 3.938 kB / 2.927 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.06281/6.914, allocations: 19.63 MB / 2.946 GB, free: 154.7 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)