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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, 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.001338/0.001338, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.259/1.259, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 67.91 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2297, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003119/0.2329, allocations: 2.405 MB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2342, allocations: 1.005 MB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.2343, allocations: 7.938 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.2345, allocations: 47.75 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.2346, allocations: 75.41 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.235, allocations: 135.7 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2352, allocations: 270.8 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.2353, allocations: 36.61 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2354, allocations: 103.5 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.2355, allocations: 111.5 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.2356, allocations: 8 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.2358, allocations: 99.84 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.2358, allocations: 43.83 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.236, allocations: 111.4 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.2363, allocations: 303 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2363, allocations: 4 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2363, allocations: 4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.2363, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 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.0008452/0.2372, allocations: 0.5903 MB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2372, allocations: 12.03 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.2373, allocations: 46.73 kB / 1.057 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.2373, allocations: 24.66 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.2377, allocations: 295 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2377, allocations: 12.61 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.2378, allocations: 20.38 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.2381, allocations: 204.4 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2382, allocations: 11.94 kB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.2382, allocations: 7.984 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2382, allocations: 4 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003363/0.2385, allocations: 103.8 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.2394, allocations: 0.8683 MB / 1.059 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.2398, allocations: 203.9 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.24, allocations: 78.61 kB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.2401, allocations: 4 kB / 1.059 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.2404, allocations: 206.5 kB / 1.059 GB, free: 476 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.2405, allocations: 0 / 1.059 GB, free: 476 kB / 0.8106 GB Notification: Performance of matching and sorting (n=23): time 0.0008146/0.2413, allocations: 357.3 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.2413, allocations: 122.7 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2415, allocations: 242.5 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2416, allocations: 41.69 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.2417, allocations: 140.5 kB / 1.06 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.2417, allocations: 75.11 kB / 1.06 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.899e-05/0.2418, allocations: 66.08 kB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.2419, allocations: 346.8 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2421, allocations: 76.75 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.2424, allocations: 255.2 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.2429, allocations: 388.5 kB / 1.061 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.243, allocations: 0 / 1.061 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006784/0.2436, allocations: 403 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.2437, allocations: 39.25 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2437, allocations: 4 kB / 1.062 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2437, allocations: 8 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.2439, allocations: 63.84 kB / 1.062 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.2439, allocations: 19.86 kB / 1.062 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.2442, allocations: 39.73 kB / 1.062 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.2442, allocations: 20 kB / 1.062 GB, free: 13.57 MB / 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.0001224/0.2443, allocations: 160.4 kB / 1.062 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.2444, allocations: 35.69 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.567e-05/0.2444, allocations: 21.72 kB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2444, allocations: 4 kB / 1.062 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2445, allocations: 7.875 kB / 1.062 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2445, allocations: 3.984 kB / 1.062 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.2447, allocations: 273.3 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2447, allocations: 4 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.2448, allocations: 15.98 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2448, allocations: 4 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.2449, allocations: 11.92 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2449, allocations: 0 / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2449, allocations: 3.938 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.2457, allocations: 424.7 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2458, allocations: 96.83 kB / 1.063 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.2458, allocations: 8.25 kB / 1.063 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.246, allocations: 24.02 kB / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.246, allocations: 27.91 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2461, allocations: 8 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001258/0.2462, allocations: 174 kB / 1.063 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2462, allocations: 0 / 1.063 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003604/0.2466, allocations: 79.94 kB / 1.063 GB, free: 12.11 MB / 0.8262 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.001186/0.2478, allocations: 0.9992 MB / 1.064 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.2483, allocations: 292.4 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2483, allocations: 0 / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.2486, allocations: 108 kB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2489, allocations: 67.17 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.2524, allocations: 3.074 MB / 1.068 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2526, allocations: 0.741 MB / 1.069 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.2528, allocations: 54.89 kB / 1.069 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/0.2529, allocations: 75.41 kB / 1.069 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2529, allocations: 0 / 1.069 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3916/0.6445, allocations: 6.12 MB / 1.075 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.6449, allocations: 258.5 kB / 1.075 GB, free: 240 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.85, allocations: 0 / 1.075 GB, free: 240 kB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition_fmu --startTime=0 --stopTime=1.5768e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1)