Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.928/1.928, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001347/0.001347, allocations: 182 kB / 371.8 MB, free: 10.25 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.708/1.708, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008839/0.0008838, allocations: 102.8 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007093/0.0007096, allocations: 12.16 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2441, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002231/0.2464, allocations: 1.867 MB / 0.9813 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2476, allocations: 0.9724 MB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2477, allocations: 7.938 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.2479, allocations: 43.73 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.2481, allocations: 79.7 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.2484, allocations: 136.8 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.2486, allocations: 183.6 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2487, allocations: 32.33 kB / 0.9827 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.2488, allocations: 107.6 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.249, allocations: 99.53 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.249, allocations: 16 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.2492, allocations: 87.86 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.2493, allocations: 39.83 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.2493, allocations: 69.58 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2496, allocations: 219.5 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2496, allocations: 0 / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2496, allocations: 4 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2496, allocations: 0 / 0.9833 GB, free: 23.62 MB / 0.6198 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.0008058/0.2504, allocations: 0.5514 MB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2505, allocations: 12.02 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.2505, allocations: 46.55 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.2506, allocations: 35.56 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.2509, allocations: 281.8 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.251, allocations: 20.22 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.251, allocations: 20 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.2514, allocations: 210.1 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2514, allocations: 0 / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2514, allocations: 4 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2514, allocations: 4 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.2517, allocations: 131.8 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.2526, allocations: 0.88 MB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.253, allocations: 211.8 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.253, allocations: 8.062 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.2534, allocations: 201.9 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.2534, allocations: 3.938 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007502/0.2542, allocations: 381.2 kB / 0.9862 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.2542, allocations: 118.7 kB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2544, allocations: 246.5 kB / 0.9866 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2544, allocations: 37.7 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.2545, allocations: 140.6 kB / 0.9867 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.2545, allocations: 63.19 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.2546, allocations: 8 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.2546, allocations: 338.8 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2548, allocations: 88.77 kB / 0.9872 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2551, allocations: 266.9 kB / 0.9875 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.2553, allocations: 149.5 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2553, allocations: 0 / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00059/0.2559, allocations: 415 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.256, allocations: 41.64 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.256, allocations: 4 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.256, allocations: 12 kB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.2562, allocations: 67.84 kB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2562, allocations: 8 kB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2564, allocations: 51.81 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2565, allocations: 16 kB / 0.9882 GB, free: 18.21 MB / 0.6198 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.0001236/0.2566, allocations: 165.3 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.2566, allocations: 23.72 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2567, allocations: 25.66 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2567, allocations: 8 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2567, allocations: 0 / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2567, allocations: 7.984 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.2569, allocations: 265.4 kB / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2569, allocations: 384 / 0.9887 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2571, allocations: 31.91 kB / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2571, allocations: 4 kB / 0.9887 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2571, allocations: 7.984 kB / 0.9887 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2571, allocations: 7.891 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2571, allocations: 4 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.2578, allocations: 456.4 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.2579, allocations: 112.6 kB / 0.9893 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.258, allocations: 12.03 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.2581, allocations: 24.08 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.2582, allocations: 23.95 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.2582, allocations: 11.98 kB / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001023/0.2583, allocations: 166 kB / 0.9895 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2583, allocations: 0 / 0.9895 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003495/0.2587, allocations: 83.92 kB / 0.9896 GB, free: 16.69 MB / 0.6198 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.001087/0.2598, allocations: 1.193 MB / 0.9907 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.2603, allocations: 307.9 kB / 0.991 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2603, allocations: 0 / 0.991 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2605, allocations: 109 kB / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2608, allocations: 56.64 kB / 0.9912 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.2626, allocations: 5.014 MB / 0.9961 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.2628, allocations: 0.7524 MB / 0.9968 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.2629, allocations: 50.92 kB / 0.9969 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.263, allocations: 67.42 kB / 0.9969 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.263, allocations: 0 / 0.9969 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.2795, allocations: 5.931 MB / 1.003 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.2797, allocations: 234.8 kB / 1.003 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.296, allocations: 4 kB / 1.003 GB, free: 2.992 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)