Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.165/2.165, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 194.9 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009936, allocations: 101.9 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 52.05 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2726, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003313/0.276, allocations: 2.39 MB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2772, allocations: 1.006 MB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.737e-05/0.2773, allocations: 11.94 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.2775, allocations: 39.75 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2776, allocations: 67.47 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.278, allocations: 143.7 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.2782, allocations: 270.8 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.2783, allocations: 30.36 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2784, allocations: 107.5 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2786, allocations: 111.5 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.2786, allocations: 8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.2788, allocations: 99.91 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.2789, allocations: 35.84 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.507e-05/0.279, allocations: 119.3 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.2793, allocations: 303 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2793, allocations: 11.92 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2793, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2793, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 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.0008354/0.2802, allocations: 0.5904 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.2802, allocations: 15.98 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.2803, allocations: 24.66 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.2806, allocations: 290.9 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2806, allocations: 16.59 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.2807, allocations: 20.38 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.2811, allocations: 211.4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.2811, allocations: 7.906 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.2812, allocations: 7.938 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2812, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.2815, allocations: 111.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.2822, allocations: 0.8684 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.2827, allocations: 199.9 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2828, allocations: 86.53 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.2829, allocations: 4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.2832, allocations: 195.4 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.2832, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=23): time 0.0007147/0.284, allocations: 357.1 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.284, allocations: 118.8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2842, allocations: 246.5 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2842, allocations: 37.7 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.2843, allocations: 144.5 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.2843, allocations: 59.25 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/0.2844, allocations: 73.97 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.701e-05/0.2845, allocations: 354.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2847, allocations: 72.77 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.2849, allocations: 258.9 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.2854, allocations: 384.8 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2854, allocations: 384 / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005841/0.286, allocations: 398.4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.286, allocations: 42.45 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.286, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.286, allocations: 15.94 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2862, allocations: 63.89 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.2863, allocations: 15.88 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2865, allocations: 51.52 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.2865, allocations: 20 kB / 1.228 GB, free: 106.6 MB / 0.823 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.0001551/0.2867, allocations: 164.5 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2867, allocations: 27.72 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.2867, allocations: 25.7 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2868, allocations: 4 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2868, allocations: 3.938 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2868, allocations: 0 / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.287, allocations: 269.4 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.287, allocations: 3.984 kB / 1.228 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.2871, allocations: 15.98 kB / 1.228 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2871, allocations: 7.984 kB / 1.228 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2871, allocations: 8.25 kB / 1.228 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2871, allocations: 4 kB / 1.228 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2871, allocations: 7.875 kB / 1.228 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.289, allocations: 1.635 MB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.289, allocations: 104.8 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.2891, allocations: 15.97 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2892, allocations: 15.98 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.2893, allocations: 19.97 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.2893, allocations: 15.98 kB / 1.23 GB, free: 104 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000108/0.2894, allocations: 166 kB / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2894, allocations: 0 / 1.23 GB, free: 103.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004335/0.2899, allocations: 99.92 kB / 1.23 GB, free: 103.8 MB / 0.823 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.0003253/0.2902, allocations: 172.7 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005099/0.2907, allocations: 287.2 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2908, allocations: 3.938 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.291, allocations: 105.2 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.2913, allocations: 64.45 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.2924, allocations: 0.8401 MB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2926, allocations: 0.7449 MB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.2928, allocations: 55.06 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.2928, allocations: 23.44 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.021e-06/0.2928, allocations: 0 / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of Templates: time 0.006611/0.2994, allocations: 3.957 MB / 1.236 GB, free: 97.54 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)