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.7678/0.7678, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.001051/0.001051, allocations: 168.8 kB / 171.8 MB, free: 2.023 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.637/1.637, allocations: 170.6 MB / 374.2 MB, free: 15.79 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.001609/0.001609, allocations: 113.3 kB / 444.8 MB, free: 9.297 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.4736/0.4736, allocations: 73.39 MB / 0.6666 GB, free: 46.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.6244, allocations: 105.5 MB / 0.7697 GB, free: 15.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.6247, allocations: 99.06 kB / 0.7698 GB, free: 15.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.6407, allocations: 5.27 MB / 0.7749 GB, free: 10 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6408, allocations: 0 / 0.7749 GB, free: 10 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.6408, allocations: 4 kB / 0.7749 GB, free: 9.996 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.0007481/0.6415, allocations: 0.5893 MB / 0.7755 GB, free: 9.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6416, allocations: 8.031 kB / 0.7755 GB, free: 9.332 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.6417, allocations: 38.41 kB / 0.7755 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.6421, allocations: 285.5 kB / 0.7758 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.6421, allocations: 4 kB / 0.7758 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.6422, allocations: 20.84 kB / 0.7758 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001649/0.6423, allocations: 64.16 kB / 0.7759 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.6426, allocations: 156.5 kB / 0.776 GB, free: 8.719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6426, allocations: 4 kB / 0.776 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.6426, allocations: 0 / 0.776 GB, free: 8.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6426, allocations: 4 kB / 0.776 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.6437, allocations: 0.8609 MB / 0.7769 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.6439, allocations: 124 kB / 0.777 GB, free: 7.645 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.644, allocations: 78.64 kB / 0.7771 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.6441, allocations: 0 / 0.7771 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.6444, allocations: 257 kB / 0.7773 GB, free: 7.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.6444, allocations: 0 / 0.7773 GB, free: 7.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006047/0.645, allocations: 253.5 kB / 0.7776 GB, free: 7.016 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.6452, allocations: 277 kB / 0.7778 GB, free: 6.684 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.6454, allocations: 204.3 kB / 0.778 GB, free: 6.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.6454, allocations: 39.33 kB / 0.7781 GB, free: 6.438 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.6455, allocations: 140.6 kB / 0.7782 GB, free: 6.297 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.6456, allocations: 59.2 kB / 0.7782 GB, free: 6.238 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.6456, allocations: 3.984 kB / 0.7783 GB, free: 6.234 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6457, allocations: 338.8 kB / 0.7786 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.6458, allocations: 52.81 kB / 0.7786 GB, free: 5.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.6461, allocations: 231.8 kB / 0.7788 GB, free: 5.531 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.6462, allocations: 77.86 kB / 0.7789 GB, free: 5.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6462, allocations: 4 kB / 0.7789 GB, free: 5.453 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004412/0.6467, allocations: 285.4 kB / 0.7792 GB, free: 5.168 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.6467, allocations: 114.8 kB / 0.7793 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6468, allocations: 10 kB / 0.7793 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.6468, allocations: 8 kB / 0.7793 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.647, allocations: 67.84 kB / 0.7794 GB, free: 4.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.647, allocations: 15.98 kB / 0.7794 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.6473, allocations: 43.95 kB / 0.7794 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.6473, allocations: 23.95 kB / 0.7795 GB, free: 4.867 MB / 490.7 MB 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.0001738/0.6475, allocations: 226 kB / 0.7797 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.6475, allocations: 31.62 kB / 0.7797 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.6476, allocations: 21.84 kB / 0.7797 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.6476, allocations: 3.984 kB / 0.7797 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6476, allocations: 4 kB / 0.7797 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6476, allocations: 4 kB / 0.7797 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.6479, allocations: 250 kB / 0.78 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6479, allocations: 48 / 0.78 GB, free: 4.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.648, allocations: 27.91 kB / 0.78 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6481, allocations: 0 / 0.78 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.6481, allocations: 15.98 kB / 0.78 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6481, allocations: 2.125 kB / 0.78 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6481, allocations: 4 kB / 0.78 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.6489, allocations: 442.5 kB / 0.7805 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.649, allocations: 96.77 kB / 0.7805 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.649, allocations: 16.03 kB / 0.7806 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.6492, allocations: 27.94 kB / 0.7806 GB, free: 3.609 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.6493, allocations: 23.91 kB / 0.7806 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.6493, allocations: 18.89 kB / 0.7806 GB, free: 3.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.6495, allocations: 148.5 kB / 0.7808 GB, free: 3.426 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6495, allocations: 0 / 0.7808 GB, free: 3.426 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.6499, allocations: 91.92 kB / 0.7809 GB, free: 3.336 MB / 490.7 MB 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.0003927/0.6503, allocations: 174.1 kB / 0.781 GB, free: 3.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.6507, allocations: 402.8 kB / 0.7814 GB, free: 2.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6508, allocations: 4 kB / 0.7814 GB, free: 2.715 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.6511, allocations: 302.1 kB / 0.7817 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.6514, allocations: 53.41 kB / 0.7818 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.6527, allocations: 0.6105 MB / 0.7823 GB, free: 1.715 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.6531, allocations: 0.7446 MB / 0.7831 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.6532, allocations: 47.89 kB / 0.7831 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.6533, allocations: 19.44 kB / 0.7831 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6533, allocations: 0 / 0.7831 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of Templates: time 0.007335/0.6606, allocations: 3.517 MB / 0.7866 GB, free: 13.46 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)