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.6959/0.6959, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001008/0.001009, allocations: 173.4 kB / 176.9 MB, free: 2.293 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.303/1.303, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.00169/0.00169, allocations: 120.7 kB / 450 MB, free: 5.863 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.4388/0.4389, allocations: 73.39 MB / 0.6736 GB, free: 47.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.324/4.762, allocations: 2.132 GB / 2.805 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/4.763, allocations: 90.05 kB / 2.806 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.491/5.254, allocations: 87.9 MB / 2.891 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/5.254, allocations: 0 / 2.891 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.523e-05/5.254, allocations: 24.69 kB / 2.891 GB, free: 179.8 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.001795/5.256, allocations: 1.12 MB / 2.893 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/5.256, allocations: 10.84 kB / 2.893 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/5.258, allocations: 307.7 kB / 2.893 GB, free: 178.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/5.258, allocations: 0.5355 MB / 2.893 GB, free: 178.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/5.258, allocations: 59.69 kB / 2.893 GB, free: 178.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/5.259, allocations: 78.28 kB / 2.893 GB, free: 178.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/5.26, allocations: 0.8329 MB / 2.894 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/5.26, allocations: 0 / 2.894 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/5.26, allocations: 35.91 kB / 2.894 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/5.26, allocations: 19.47 kB / 2.894 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/5.261, allocations: 1.066 MB / 2.895 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/5.265, allocations: 2.451 MB / 2.898 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/5.266, allocations: 0.7575 MB / 2.899 GB, free: 174.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/5.266, allocations: 286.9 kB / 2.899 GB, free: 174.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/5.267, allocations: 0.66 MB / 2.899 GB, free: 174.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/5.267, allocations: 453.8 kB / 2.9 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 1.893e-06/5.267, allocations: 4 kB / 2.9 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=72): time 0.001429/5.269, allocations: 0.7234 MB / 2.901 GB, free: 173.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/5.269, allocations: 166.8 kB / 2.901 GB, free: 173.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/5.269, allocations: 0.5174 MB / 2.901 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/5.269, allocations: 40.17 kB / 2.901 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/5.27, allocations: 350.5 kB / 2.902 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/5.27, allocations: 241.4 kB / 2.902 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/5.27, allocations: 14.75 kB / 2.902 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001018/5.27, allocations: 375.2 kB / 2.902 GB, free: 172 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/5.27, allocations: 239.6 kB / 2.902 GB, free: 171.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/5.271, allocations: 321 kB / 2.903 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/5.271, allocations: 332.2 kB / 2.903 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/5.271, allocations: 0 / 2.903 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001503/5.273, allocations: 0.8559 MB / 2.904 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/5.273, allocations: 59.12 kB / 2.904 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/5.273, allocations: 0 / 2.904 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/5.273, allocations: 79.47 kB / 2.904 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/5.274, allocations: 157 kB / 2.904 GB, free: 170.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/5.275, allocations: 1.433 MB / 2.906 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/5.276, allocations: 86.98 kB / 2.906 GB, free: 169.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/5.276, allocations: 31.62 kB / 2.906 GB, free: 169.4 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 () * 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.0001489/5.276, allocations: 142.2 kB / 2.906 GB, free: 169.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/5.276, allocations: 74.62 kB / 2.906 GB, free: 169.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/5.278, allocations: 0.981 MB / 2.907 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/5.278, allocations: 8 kB / 2.907 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/5.278, allocations: 3.953 kB / 2.907 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/5.278, allocations: 3.984 kB / 2.907 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/5.279, allocations: 0.8604 MB / 2.908 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/5.279, allocations: 0 / 2.908 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/5.28, allocations: 159.8 kB / 2.908 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/5.28, allocations: 80.73 kB / 2.908 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/5.28, allocations: 23.98 kB / 2.908 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/5.281, allocations: 1.454 MB / 2.909 GB, free: 165.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/5.281, allocations: 0 / 2.909 GB, free: 165.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/5.283, allocations: 0.828 MB / 2.91 GB, free: 164.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/5.283, allocations: 283.8 kB / 2.91 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/5.283, allocations: 19.98 kB / 2.91 GB, free: 164.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/5.284, allocations: 71.94 kB / 2.911 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/5.284, allocations: 52.7 kB / 2.911 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/5.284, allocations: 31.98 kB / 2.911 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003963/5.284, allocations: 435.2 kB / 2.911 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.81e-07/5.284, allocations: 0 / 2.911 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00109/5.285, allocations: 383.1 kB / 2.911 GB, free: 163.4 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) * 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.001667/5.287, allocations: 1.068 MB / 2.912 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001092/5.288, allocations: 0.8379 MB / 2.913 GB, free: 161.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/5.288, allocations: 4 kB / 2.913 GB, free: 161.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000565/5.289, allocations: 479.1 kB / 2.914 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/5.289, allocations: 184 kB / 2.914 GB, free: 160.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/5.292, allocations: 1.312 MB / 2.915 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/5.293, allocations: 1.003 MB / 2.916 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008166/5.293, allocations: 256.7 kB / 2.916 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/5.294, allocations: 87.39 kB / 2.917 GB, free: 158.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.833e-06/5.294, allocations: 0 / 2.917 GB, free: 158.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.02456/5.318, allocations: 21.42 MB / 2.937 GB, free: 136.8 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)