Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.00144/0.00144, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001694/0.001694, allocations: 193.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 65.61 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2568, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.0034/0.2602, allocations: 2.388 MB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2616, allocations: 1.017 MB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.2617, allocations: 7.938 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.262, allocations: 43.75 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.2621, allocations: 71.39 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.2625, allocations: 147.7 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.2627, allocations: 266.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.2628, allocations: 36.61 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.263, allocations: 103.5 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2631, allocations: 111.5 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.2631, allocations: 8 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.2634, allocations: 99.84 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.2634, allocations: 39.83 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2636, allocations: 115.4 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.2639, allocations: 303 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2639, allocations: 3.938 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.264, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.264, allocations: 4 kB / 1.072 GB, free: 6.145 MB / 0.8262 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.001042/0.265, allocations: 0.5903 MB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2651, allocations: 12.03 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.2652, allocations: 24.66 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.2656, allocations: 283 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2657, allocations: 24.59 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.2657, allocations: 24.31 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.2662, allocations: 200.6 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.2663, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2663, allocations: 7.938 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2663, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.2668, allocations: 111.8 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.268, allocations: 0.8722 MB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.2685, allocations: 203.9 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.2688, allocations: 82.59 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2688, allocations: 4 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.2692, allocations: 200.4 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.2692, allocations: 0 / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008802/0.2701, allocations: 353 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.2702, allocations: 122.8 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.2704, allocations: 246.4 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.2704, allocations: 37.7 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.2705, allocations: 140.6 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.2706, allocations: 63.19 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.2707, allocations: 74.06 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2708, allocations: 342.8 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/0.2711, allocations: 84.7 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.2714, allocations: 247.2 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.272, allocations: 388.4 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.272, allocations: 4 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007148/0.2727, allocations: 394.7 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.2727, allocations: 37.7 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2728, allocations: 8.766 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2728, allocations: 8 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.273, allocations: 71.84 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.273, allocations: 19.94 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.2733, allocations: 39.67 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2733, allocations: 20 kB / 1.077 GB, free: 388 kB / 0.8262 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.0001335/0.2734, allocations: 160 kB / 1.077 GB, free: 220 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.2735, allocations: 39.61 kB / 1.077 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.2736, allocations: 21.7 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2736, allocations: 4 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2736, allocations: 7.875 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2736, allocations: 256 / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.2739, allocations: 273.4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2739, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.274, allocations: 19.97 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.274, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2741, allocations: 8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2741, allocations: 7.984 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2741, allocations: 3.938 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008492/0.2749, allocations: 410.1 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.275, allocations: 104.9 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.2751, allocations: 4.375 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.2753, allocations: 19.97 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.2753, allocations: 19.92 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2754, allocations: 11.98 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001473/0.2755, allocations: 173.9 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2755, allocations: 0 / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004373/0.276, allocations: 87.92 kB / 1.079 GB, free: 14.92 MB / 0.8419 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.0003207/0.2763, allocations: 175.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.2769, allocations: 291.2 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.277, allocations: 0 / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.2773, allocations: 105.3 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2777, allocations: 55.36 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2788, allocations: 0.6733 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2791, allocations: 0.741 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.2792, allocations: 46.94 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.2793, allocations: 31.44 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2793, allocations: 0 / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.007397/0.2867, allocations: 3.738 MB / 1.084 GB, free: 9.082 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)