Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 112.1 kB / 16.38 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 74.08 kB / 0.6729 GB, free: 5.738 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1922, allocations: 114.5 MB / 0.7848 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003467/0.1957, allocations: 2.341 MB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3348/0.5305, allocations: 1.029 MB / 0.7881 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.5307, allocations: 8.875 kB / 0.7881 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.531, allocations: 53.89 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.5312, allocations: 75.86 kB / 0.7882 GB, free: 46.56 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-107:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.5316, allocations: 168.7 kB / 0.7884 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.5319, allocations: 290.7 kB / 0.7887 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.532, allocations: 33.77 kB / 0.7887 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.5321, allocations: 113.7 kB / 0.7888 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.5322, allocations: 104.8 kB / 0.7889 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.5323, allocations: 19.69 kB / 0.7889 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.5325, allocations: 119.4 kB / 0.789 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.5326, allocations: 48.45 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.5327, allocations: 120 kB / 0.7892 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.533, allocations: 320 kB / 0.7895 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.533, allocations: 0 / 0.7895 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.533, allocations: 1.031 kB / 0.7895 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.533, allocations: 0 / 0.7895 GB, free: 46.45 MB / 0.6544 GB 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.0008109/0.5338, allocations: 0.5869 MB / 0.7901 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5339, allocations: 7.875 kB / 0.7901 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.534, allocations: 29.88 kB / 0.7901 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.5344, allocations: 299.2 kB / 0.7904 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.5344, allocations: 17.48 kB / 0.7904 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.5344, allocations: 21.89 kB / 0.7904 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.5348, allocations: 205.3 kB / 0.7906 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.5348, allocations: 7.844 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.5348, allocations: 10.08 kB / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.5348, allocations: 4.594 kB / 0.7907 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.5352, allocations: 103.9 kB / 0.7908 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.5359, allocations: 0.8691 MB / 0.7916 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.5363, allocations: 201.6 kB / 0.7918 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.5365, allocations: 78.03 kB / 0.7919 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.5365, allocations: 7.328 kB / 0.7919 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.5369, allocations: 200.4 kB / 0.7921 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 2.344e-06/0.5369, allocations: 2.625 kB / 0.7921 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007743/0.5377, allocations: 351.8 kB / 0.7924 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.5377, allocations: 122.1 kB / 0.7925 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5379, allocations: 240 kB / 0.7928 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.5379, allocations: 43.58 kB / 0.7928 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.538, allocations: 137.7 kB / 0.7929 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.538, allocations: 61.84 kB / 0.793 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.5381, allocations: 74.58 kB / 0.7931 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.5382, allocations: 344.9 kB / 0.7934 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5384, allocations: 81.64 kB / 0.7935 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.5386, allocations: 256.9 kB / 0.7937 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.5391, allocations: 392.2 kB / 0.7941 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5391, allocations: 4.5 kB / 0.7941 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006021/0.5397, allocations: 394.8 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.5397, allocations: 33.58 kB / 0.7945 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5397, allocations: 5.938 kB / 0.7945 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.5398, allocations: 10.22 kB / 0.7945 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.54, allocations: 76.42 kB / 0.7946 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.54, allocations: 8.344 kB / 0.7946 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.5402, allocations: 54.11 kB / 0.7946 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.5403, allocations: 19.47 kB / 0.7947 GB, free: 43.42 MB / 0.6544 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.5404, allocations: 163.6 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.5404, allocations: 22.03 kB / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.5405, allocations: 30.23 kB / 0.7949 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5405, allocations: 3.406 kB / 0.7949 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5405, allocations: 1.219 kB / 0.7949 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.5405, allocations: 102.4 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.5406, allocations: 7.438 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5407, allocations: 16.05 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.5408, allocations: 23.12 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006759/0.5415, allocations: 0.5116 MB / 0.7955 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007668/0.5423, allocations: 0.6904 MB / 0.7962 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000213/0.5425, allocations: 90.22 kB / 0.7963 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001029/0.5426, allocations: 167.8 kB / 0.7964 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of Backend: time 2.81e-07/0.5426, allocations: 3.375 kB / 0.7964 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000988/0.5436, allocations: 363.9 kB / 0.7968 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0007861/0.5444, allocations: 1.019 MB / 0.7978 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.007606/0.552, allocations: 3.904 MB / 0.8016 GB, free: 41.35 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)