Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7348/0.7348, allocations: 132.3 MB / 144.9 MB, free: 10.53 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.0009923/0.0009924, allocations: 176.9 kB / 176.9 MB, free: 2.305 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.263/1.263, allocations: 170.5 MB / 379.3 MB, free: 11.86 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.001546/0.001546, allocations: 114.3 kB / 450 MB, free: 5.836 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.4143/0.4144, allocations: 73.4 MB / 0.6736 GB, free: 47.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.5381, allocations: 106.2 MB / 0.7773 GB, free: 10.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5384, allocations: 88.97 kB / 0.7774 GB, free: 10.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.5532, allocations: 5.27 MB / 0.7825 GB, free: 5.191 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5533, allocations: 0 / 0.7825 GB, free: 5.191 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.5533, allocations: 4 kB / 0.7826 GB, free: 5.188 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006247/0.5539, allocations: 0.5845 MB / 0.7831 GB, free: 4.535 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.554, allocations: 11.31 kB / 0.7831 GB, free: 4.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.554, allocations: 34.47 kB / 0.7832 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.5544, allocations: 297.5 kB / 0.7834 GB, free: 4.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5544, allocations: 12 kB / 0.7835 GB, free: 4.156 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.5545, allocations: 16 kB / 0.7835 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.5547, allocations: 167.4 kB / 0.7836 GB, free: 3.949 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5548, allocations: 3.609 kB / 0.7836 GB, free: 3.949 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.5548, allocations: 8 kB / 0.7836 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.5548, allocations: 7.984 kB / 0.7837 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.5549, allocations: 71.91 kB / 0.7837 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.556, allocations: 0.8956 MB / 0.7846 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.5562, allocations: 132 kB / 0.7847 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5563, allocations: 82.64 kB / 0.7848 GB, free: 2.652 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.5563, allocations: 3.938 kB / 0.7848 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.5566, allocations: 257.5 kB / 0.7851 GB, free: 2.359 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 1.463e-06/0.5566, allocations: 0 / 0.7851 GB, free: 2.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.000496/0.5571, allocations: 358.3 kB / 0.7854 GB, free: 1.984 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.5572, allocations: 273 kB / 0.7857 GB, free: 1.656 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.5574, allocations: 218.8 kB / 0.7859 GB, free: 1.438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5574, allocations: 45.69 kB / 0.7859 GB, free: 1.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.5575, allocations: 132.7 kB / 0.786 GB, free: 1.254 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.5576, allocations: 71.17 kB / 0.7861 GB, free: 1.184 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.5576, allocations: 4 kB / 0.7861 GB, free: 1.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5577, allocations: 338.8 kB / 0.7864 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.5578, allocations: 56.81 kB / 0.7865 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.558, allocations: 239.2 kB / 0.7867 GB, free: 480 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.5582, allocations: 196 kB / 0.7869 GB, free: 260 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5582, allocations: 0 / 0.7869 GB, free: 260 kB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004998/0.5587, allocations: 439.5 kB / 0.7873 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.5588, allocations: 117.2 kB / 0.7874 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5588, allocations: 4 kB / 0.7874 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5588, allocations: 12 kB / 0.7874 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.5591, allocations: 75.83 kB / 0.7875 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.5591, allocations: 15.89 kB / 0.7875 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.5593, allocations: 51.67 kB / 0.7876 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.5593, allocations: 16 kB / 0.7876 GB, free: 15.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouPul.iSam,TBouPul.iSam,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$whenCondition4,$PRE.TBouSte.iSam,TBouSte.iSam,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$whenCondition2,$PRE.TBouCon.iSam,TBouCon.iSam,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$whenCondition1,$whenCondition3,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5595, allocations: 248.1 kB / 0.7878 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.5595, allocations: 27.72 kB / 0.7879 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.5596, allocations: 21.83 kB / 0.7879 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.5596, allocations: 4 kB / 0.7879 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5596, allocations: 0.5625 kB / 0.7879 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5596, allocations: 3.953 kB / 0.7879 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.5599, allocations: 277.3 kB / 0.7882 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5599, allocations: 5.188 kB / 0.7882 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.56, allocations: 27.97 kB / 0.7882 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.56, allocations: 3.938 kB / 0.7882 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.56, allocations: 14.44 kB / 0.7882 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.56, allocations: 0 / 0.7882 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.56, allocations: 0 / 0.7882 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.5607, allocations: 0.5469 MB / 0.7887 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.5608, allocations: 104.7 kB / 0.7888 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.5608, allocations: 14.44 kB / 0.7888 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.561, allocations: 19.98 kB / 0.7889 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.5611, allocations: 20.11 kB / 0.7889 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.5611, allocations: 12 kB / 0.7889 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001234/0.5612, allocations: 171.1 kB / 0.7891 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5613, allocations: 0 / 0.7891 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004081/0.5617, allocations: 95.92 kB / 0.7892 GB, free: 13.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouPul.U,TBouSte.U,TBouCon.U) * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count,$whenCondition2,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition1,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam) * Number of discrete states: 16 (TBouCon.iSam,TBouCon.port.T,TBouCon.UOld,TBouCon.QAve_flow,$whenCondition1,TBouSte.iSam,TBouSte.port.T,TBouSte.UOld,TBouSte.QAve_flow,$whenCondition2,pulse.count,TBouPul.iSam,TBouPul.port.T,TBouPul.UOld,TBouPul.QAve_flow,$whenCondition4) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/0.562, allocations: 194.3 kB / 0.7893 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004272/0.5625, allocations: 420.8 kB / 0.7897 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5625, allocations: 0 / 0.7897 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.5628, allocations: 314.1 kB / 0.79 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.5631, allocations: 54.36 kB / 0.7901 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5643, allocations: 0.6191 MB / 0.7907 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.5645, allocations: 0.7446 MB / 0.7914 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.5647, allocations: 47.89 kB / 0.7915 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.5647, allocations: 23.44 kB / 0.7915 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.382e-06/0.5647, allocations: 0 / 0.7915 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.006787/0.5715, allocations: 3.766 MB / 0.7952 GB, free: 7.562 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)