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.0009086/0.0009086, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009824/0.0009824, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.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.614/1.614, allocations: 292.5 MB / 0.5497 GB, free: 14.6 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.0005499/0.0005502, allocations: 14.22 kB / 0.6735 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2391, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002507/0.2417, allocations: 1.87 MB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2431, allocations: 0.9685 MB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.2432, allocations: 7.938 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.2433, allocations: 39.69 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.2435, allocations: 83.77 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.2439, allocations: 135.6 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.2441, allocations: 187.7 kB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2442, allocations: 32.61 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.2443, allocations: 111.5 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.2445, allocations: 95.59 kB / 0.7906 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2445, allocations: 12 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.2447, allocations: 91.86 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.2448, allocations: 39.83 kB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.2448, allocations: 69.56 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2451, allocations: 223.5 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2451, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2451, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2451, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 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.0008449/0.246, allocations: 0.5514 MB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.246, allocations: 11.97 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.2461, allocations: 27.72 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.2465, allocations: 297.7 kB / 0.7918 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2465, allocations: 8.234 kB / 0.7918 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.2466, allocations: 23.98 kB / 0.7919 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.2469, allocations: 208.3 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.247, allocations: 0 / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.247, allocations: 11.98 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.247, allocations: 0 / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.2473, allocations: 123.8 kB / 0.7922 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009271/0.2483, allocations: 0.8763 MB / 0.793 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.2487, allocations: 223.7 kB / 0.7933 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.2488, allocations: 4 kB / 0.7933 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004053/0.2492, allocations: 209.9 kB / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.372e-06/0.2492, allocations: 0 / 0.7935 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008153/0.25, allocations: 377.2 kB / 0.7938 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2501, allocations: 118.8 kB / 0.7939 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2503, allocations: 242.5 kB / 0.7942 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2503, allocations: 37.7 kB / 0.7942 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.2504, allocations: 144.6 kB / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.2505, allocations: 63.23 kB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.2505, allocations: 8 kB / 0.7944 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2506, allocations: 334.8 kB / 0.7947 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.2509, allocations: 88.75 kB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.2512, allocations: 262.9 kB / 0.7951 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.2514, allocations: 145.6 kB / 0.7952 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.2515, allocations: 4 kB / 0.7952 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006804/0.2521, allocations: 418.6 kB / 0.7956 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.2522, allocations: 33.7 kB / 0.7956 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.2522, allocations: 7.953 kB / 0.7956 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2522, allocations: 16.41 kB / 0.7957 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.2524, allocations: 67.91 kB / 0.7957 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.2525, allocations: 15.92 kB / 0.7957 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2527, allocations: 47.67 kB / 0.7958 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2527, allocations: 20 kB / 0.7958 GB, free: 2.617 MB / 0.6075 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.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.2529, allocations: 167.9 kB / 0.796 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.2529, allocations: 27.7 kB / 0.796 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.253, allocations: 21.7 kB / 0.796 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.253, allocations: 7.953 kB / 0.796 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.253, allocations: 0 / 0.796 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.253, allocations: 4 kB / 0.796 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.2533, allocations: 269.3 kB / 0.7963 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2533, allocations: 0 / 0.7963 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.2534, allocations: 24.36 kB / 0.7963 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.2534, allocations: 4 kB / 0.7963 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2534, allocations: 11.98 kB / 0.7963 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2535, allocations: 0 / 0.7963 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2535, allocations: 11.89 kB / 0.7963 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.2543, allocations: 456 kB / 0.7968 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.2543, allocations: 104.7 kB / 0.7969 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.2544, allocations: 12.28 kB / 0.7969 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2546, allocations: 23.92 kB / 0.7969 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.2546, allocations: 27.95 kB / 0.7969 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.2547, allocations: 8 kB / 0.7969 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001224/0.2548, allocations: 166 kB / 0.7971 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2548, allocations: 4 kB / 0.7971 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003862/0.2552, allocations: 83.92 kB / 0.7972 GB, free: 1.102 MB / 0.6075 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 (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.000347/0.2555, allocations: 166.3 kB / 0.7973 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.2562, allocations: 315.9 kB / 0.7976 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2562, allocations: 0 / 0.7976 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.2564, allocations: 103.9 kB / 0.7977 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2567, allocations: 61.16 kB / 0.7978 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2578, allocations: 0.6826 MB / 0.7985 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.2581, allocations: 0.7527 MB / 0.7992 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.2582, allocations: 50.89 kB / 0.7992 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.2583, allocations: 23.44 kB / 0.7993 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2583, allocations: 7.938 kB / 0.7993 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.006903/0.2652, allocations: 3.596 MB / 0.8028 GB, free: 11.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: