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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002038/0.002038, allocations: 186.4 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009637/0.0009636, allocations: 99.83 kB / 0.748 GB, free: 61.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2473, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.004292/0.2516, allocations: 2.378 MB / 0.9846 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2533, allocations: 1.057 MB / 0.9856 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2534, allocations: 7.938 kB / 0.9856 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.2537, allocations: 47.75 kB / 0.9856 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.254, allocations: 63.48 kB / 0.9857 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.2544, allocations: 131.7 kB / 0.9858 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.2546, allocations: 282.8 kB / 0.9861 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2548, allocations: 32.62 kB / 0.9861 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2549, allocations: 111.4 kB / 0.9862 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2551, allocations: 103.5 kB / 0.9863 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2551, allocations: 12 kB / 0.9863 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.2554, allocations: 99.91 kB / 0.9864 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.2554, allocations: 43.77 kB / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2556, allocations: 111.4 kB / 0.9866 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.256, allocations: 303 kB / 0.9869 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.256, allocations: 4 kB / 0.9869 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/0.256, allocations: 0 / 0.9869 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.256, allocations: 0 / 0.9869 GB, free: 5.578 MB / 0.7136 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.001017/0.257, allocations: 0.5904 MB / 0.9875 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2571, allocations: 8.031 kB / 0.9875 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.2572, allocations: 28.66 kB / 0.9875 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.2576, allocations: 295 kB / 0.9878 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.2576, allocations: 12.61 kB / 0.9878 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.2577, allocations: 28.2 kB / 0.9878 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.2581, allocations: 200.6 kB / 0.988 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2582, allocations: 0 / 0.988 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.2582, allocations: 15.98 kB / 0.988 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2582, allocations: 0 / 0.988 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.2586, allocations: 115.8 kB / 0.9881 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2596, allocations: 0.8645 MB / 0.989 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.2601, allocations: 207.8 kB / 0.9892 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2603, allocations: 78.61 kB / 0.9892 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.2603, allocations: 0 / 0.9892 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.2608, allocations: 208.9 kB / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.2608, allocations: 0 / 0.9894 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0008482/0.2617, allocations: 361.1 kB / 0.9898 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.2618, allocations: 114.8 kB / 0.9899 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.262, allocations: 250.8 kB / 0.9901 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2621, allocations: 41.7 kB / 0.9902 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.2622, allocations: 132.6 kB / 0.9903 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.2622, allocations: 71.17 kB / 0.9904 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.134e-05/0.2623, allocations: 81.91 kB / 0.9905 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2625, allocations: 338.8 kB / 0.9908 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2627, allocations: 80.75 kB / 0.9909 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.263, allocations: 255.1 kB / 0.9911 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/0.2635, allocations: 384.5 kB / 0.9915 GB, free: 416 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2636, allocations: 0 / 0.9915 GB, free: 416 kB / 0.7136 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006996/0.2643, allocations: 403.2 kB / 0.9918 GB, free: 0 / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.2643, allocations: 33.7 kB / 0.9919 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2644, allocations: 8.25 kB / 0.9919 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2644, allocations: 11.94 kB / 0.9919 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2646, allocations: 63.84 kB / 0.992 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.2646, allocations: 15.92 kB / 0.992 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.2649, allocations: 47.64 kB / 0.992 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.2649, allocations: 20 kB / 0.992 GB, free: 15.8 MB / 0.7292 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.0001511/0.2651, allocations: 163.9 kB / 0.9922 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.2651, allocations: 27.7 kB / 0.9922 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.2652, allocations: 25.72 kB / 0.9922 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2652, allocations: 3.984 kB / 0.9923 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.2652, allocations: 7.938 kB / 0.9923 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2652, allocations: 0 / 0.9923 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.2655, allocations: 269.3 kB / 0.9925 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2655, allocations: 0 / 0.9925 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.2656, allocations: 27.92 kB / 0.9925 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2656, allocations: 0 / 0.9925 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.2657, allocations: 7.984 kB / 0.9925 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2657, allocations: 4 kB / 0.9926 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2657, allocations: 3.938 kB / 0.9926 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.2681, allocations: 1.636 MB / 0.9942 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.2682, allocations: 96.83 kB / 0.9942 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.2682, allocations: 11.94 kB / 0.9943 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2684, allocations: 20.02 kB / 0.9943 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.2685, allocations: 19.97 kB / 0.9943 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.2685, allocations: 16.05 kB / 0.9943 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001492/0.2687, allocations: 169.9 kB / 0.9945 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2687, allocations: 4 kB / 0.9945 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004949/0.2692, allocations: 95.94 kB / 0.9946 GB, free: 12.99 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003863/0.2696, allocations: 173.8 kB / 0.9947 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.2702, allocations: 296.4 kB / 0.995 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2702, allocations: 0 / 0.995 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.2705, allocations: 104.6 kB / 0.9951 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.2708, allocations: 68.33 kB / 0.9952 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2721, allocations: 0.838 MB / 0.996 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2724, allocations: 0.7488 MB / 0.9967 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.2726, allocations: 55 kB / 0.9968 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.2726, allocations: 31.44 kB / 0.9968 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.2727, allocations: 3.938 kB / 0.9968 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.008231/0.2809, allocations: 3.931 MB / 1.001 GB, free: 6.695 MB / 0.7292 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)