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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8311/0.8311, allocations: 132.4 MB / 139.7 MB, free: 15.57 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.001391/0.001392, allocations: 168 kB / 171.6 MB, free: 1.992 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.584/1.584, allocations: 170.5 MB / 373.9 MB, free: 15.84 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.001779/0.001779, allocations: 107.2 kB / 444.4 MB, free: 9.383 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.5437/0.5437, allocations: 73.38 MB / 0.666 GB, free: 62.6 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.696, allocations: 105.5 MB / 0.769 GB, free: 14.89 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.6963, allocations: 91.94 kB / 0.7691 GB, free: 14.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01644/0.7127, allocations: 4.985 MB / 0.774 GB, free: 9.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.7128, allocations: 4 kB / 0.774 GB, free: 9.867 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.0008469/0.7136, allocations: 0.5885 MB / 0.7745 GB, free: 9.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7137, allocations: 8.031 kB / 0.7745 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.7138, allocations: 31.62 kB / 0.7746 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.7143, allocations: 298.7 kB / 0.7749 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.7144, allocations: 4 kB / 0.7749 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.7144, allocations: 20 kB / 0.7749 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002072/0.7147, allocations: 61.25 kB / 0.7749 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.7149, allocations: 160.2 kB / 0.7751 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.7149, allocations: 0 / 0.7751 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.715, allocations: 4.875 kB / 0.7751 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.715, allocations: 0 / 0.7751 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.7161, allocations: 0.8566 MB / 0.7759 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.7163, allocations: 123.8 kB / 0.7761 GB, free: 7.516 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.7165, allocations: 78.67 kB / 0.7761 GB, free: 7.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7165, allocations: 0 / 0.7761 GB, free: 7.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.7168, allocations: 236 kB / 0.7764 GB, free: 7.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 2.565e-06/0.7168, allocations: 0 / 0.7764 GB, free: 7.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005632/0.7173, allocations: 187.1 kB / 0.7765 GB, free: 6.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.7175, allocations: 279.1 kB / 0.7768 GB, free: 6.641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.7177, allocations: 208 kB / 0.777 GB, free: 6.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.7178, allocations: 33.7 kB / 0.777 GB, free: 6.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.062e-05/0.7179, allocations: 112.6 kB / 0.7771 GB, free: 6.281 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.718, allocations: 59.2 kB / 0.7772 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.718, allocations: 4.031 kB / 0.7772 GB, free: 6.219 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7181, allocations: 338.8 kB / 0.7775 GB, free: 5.879 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.7183, allocations: 52.81 kB / 0.7776 GB, free: 5.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.7185, allocations: 223.8 kB / 0.7778 GB, free: 5.523 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.7187, allocations: 83.89 kB / 0.7779 GB, free: 5.441 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7187, allocations: 7.938 kB / 0.7779 GB, free: 5.434 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004796/0.7192, allocations: 285.1 kB / 0.7781 GB, free: 5.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7192, allocations: 4 kB / 0.7781 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/0.7193, allocations: 12.06 kB / 0.7782 GB, free: 5.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.7193, allocations: 8 kB / 0.7782 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.7195, allocations: 67.91 kB / 0.7782 GB, free: 5.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.7195, allocations: 15.92 kB / 0.7782 GB, free: 5.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.7198, allocations: 43.64 kB / 0.7783 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.7199, allocations: 16 kB / 0.7783 GB, free: 4.988 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.0001953/0.7201, allocations: 229.6 kB / 0.7785 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.7201, allocations: 27.72 kB / 0.7786 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.7202, allocations: 29.7 kB / 0.7786 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7202, allocations: 4.656 kB / 0.7786 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.7202, allocations: 4.5 kB / 0.7786 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7202, allocations: 0 / 0.7786 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.7205, allocations: 253.9 kB / 0.7788 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7205, allocations: 2.062 kB / 0.7788 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.7207, allocations: 19.98 kB / 0.7789 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7207, allocations: 8 kB / 0.7789 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.7207, allocations: 11.98 kB / 0.7789 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7207, allocations: 0.9375 kB / 0.7789 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7208, allocations: 0 / 0.7789 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006742/0.7214, allocations: 374.4 kB / 0.7792 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.7215, allocations: 104.7 kB / 0.7793 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.7216, allocations: 12 kB / 0.7793 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.7218, allocations: 19.98 kB / 0.7794 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.7219, allocations: 19.97 kB / 0.7794 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.7219, allocations: 12 kB / 0.7794 GB, free: 3.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001227/0.7221, allocations: 150.9 kB / 0.7795 GB, free: 3.625 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004368/0.7225, allocations: 91.92 kB / 0.7796 GB, free: 3.535 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.0004549/0.723, allocations: 180 kB / 0.7798 GB, free: 3.352 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.7234, allocations: 290.5 kB / 0.7801 GB, free: 3.043 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7234, allocations: 1.734 kB / 0.7801 GB, free: 3.043 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.7237, allocations: 233 kB / 0.7803 GB, free: 2.797 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.724, allocations: 59.36 kB / 0.7803 GB, free: 2.742 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.7254, allocations: 0.5808 MB / 0.7809 GB, free: 2.141 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.7259, allocations: 0.7711 MB / 0.7817 GB, free: 1.34 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7259, allocations: 0 / 0.7817 GB, free: 1.34 MB / 490.7 MB Notification: Performance of Templates: time 0.008614/0.7345, allocations: 3.833 MB / 0.7854 GB, free: 13.62 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)