Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001565/0.001565, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00179/0.00179, allocations: 198.8 kB / 16.14 MB, free: 6.688 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.23 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2494, 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.003326/0.2528, allocations: 2.392 MB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2542, allocations: 1.013 MB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.2543, allocations: 7.938 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.2545, allocations: 43.75 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.2547, allocations: 71.39 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.255, allocations: 147.2 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.2553, allocations: 270.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2554, allocations: 44.53 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.2555, allocations: 95.58 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.2556, allocations: 107.5 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2557, allocations: 8 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.2559, allocations: 103.8 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.256, allocations: 39.83 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2561, allocations: 115.4 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.2565, allocations: 299.1 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2565, allocations: 4 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2565, allocations: 0 / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2565, allocations: 0 / 1.072 GB, free: 6.156 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.0009255/0.2574, allocations: 0.5992 MB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2575, allocations: 12.03 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.2575, allocations: 24.66 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.2579, allocations: 283 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.258, allocations: 16.59 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.258, allocations: 24.38 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.2584, allocations: 208.6 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2585, allocations: 7.938 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.2585, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2585, allocations: 4 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.2588, allocations: 111.8 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.2598, allocations: 0.872 MB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.2603, allocations: 199.9 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.2605, allocations: 82.77 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2605, allocations: 11.97 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/0.261, allocations: 196.6 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 3.146e-06/0.261, allocations: 0 / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.000877/0.2618, allocations: 365 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2619, allocations: 110.8 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.2621, allocations: 254.4 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.2622, allocations: 37.7 kB / 1.075 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.2623, allocations: 144.6 kB / 1.076 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.2623, allocations: 55.27 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.2624, allocations: 74.06 kB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2625, allocations: 338.8 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2628, allocations: 80.75 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.2631, allocations: 255.1 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.2636, allocations: 388.5 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2636, allocations: 0 / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007277/0.2644, allocations: 406.6 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.2644, allocations: 33.7 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2644, allocations: 4 kB / 1.077 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2645, allocations: 8 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2647, allocations: 72.3 kB / 1.077 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.2647, allocations: 15.88 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.265, allocations: 43.67 kB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.265, 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.0001344/0.2651, allocations: 163.9 kB / 1.077 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.2652, allocations: 32 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.2652, allocations: 21.7 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2652, allocations: 8 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2653, allocations: 7.875 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2653, allocations: 3.938 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.2655, allocations: 269.4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2656, allocations: 0 / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.2657, allocations: 15.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.2657, allocations: 7.984 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.2657, allocations: 8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2657, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2657, allocations: 3.938 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.2666, allocations: 415 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.2667, allocations: 100.9 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.2667, allocations: 12 kB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.2669, allocations: 19.98 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.267, allocations: 23.91 kB / 1.078 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.267, allocations: 11.98 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001391/0.2671, allocations: 170 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2671, allocations: 0 / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003868/0.2675, allocations: 87.92 kB / 1.079 GB, free: 14.93 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.0003172/0.2679, allocations: 175 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.2685, allocations: 287.9 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2685, allocations: 3.938 kB / 1.079 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.2687, allocations: 107.8 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.2691, allocations: 63.22 kB / 1.079 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2703, allocations: 0.6646 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.2706, allocations: 0.741 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.2707, allocations: 50.94 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.2708, allocations: 23.44 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.2708, allocations: 0 / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.007342/0.2781, allocations: 3.746 MB / 1.084 GB, free: 9.074 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)