Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001654/0.001654, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00195/0.00195, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7101 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 59.91 kB / 0.8689 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.768, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005714/0.7737, allocations: 3.091 MB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004177/0.778, allocations: 2.112 MB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.7786, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.7807, allocations: 490 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.7813, allocations: 123.2 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.7816, allocations: 59.89 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008225/0.7824, allocations: 441.9 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.7827, allocations: 147.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.7831, allocations: 163.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.7834, allocations: 183.2 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.675e-05/0.7835, allocations: 36 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.7836, allocations: 39.94 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.7838, allocations: 95.67 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.784, allocations: 218.9 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.7846, allocations: 0.545 MB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7846, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7847, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.7847, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00121/0.7859, allocations: 0.6967 MB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.786, allocations: 12.03 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.078e-05/0.786, allocations: 62.72 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.611e-05/0.7861, allocations: 40.47 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.7867, allocations: 374.1 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.7867, allocations: 20.8 kB / 1.026 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.7867, allocations: 20.38 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.7872, allocations: 199.4 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.7872, allocations: 3.906 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.7872, allocations: 15.98 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.7873, allocations: 8 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.7877, allocations: 165.7 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.789, allocations: 0.8623 MB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.7894, allocations: 154.5 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.7896, allocations: 117.1 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.7896, allocations: 7.906 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.7896, allocations: 38.5 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.7897, allocations: 0 / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006437/0.7903, allocations: 254.8 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.7903, allocations: 55.41 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.7908, allocations: 413.7 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.7909, allocations: 33.7 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.791, allocations: 208.2 kB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.7911, allocations: 63.02 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.7912, allocations: 29.7 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7913, allocations: 354.7 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.7915, allocations: 55.97 kB / 1.029 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.7916, allocations: 61.8 kB / 1.029 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.7919, allocations: 134.5 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7919, allocations: 0 / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004129/0.7923, allocations: 209.1 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.7924, allocations: 4 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7924, allocations: 3.938 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7924, allocations: 0 / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.7927, allocations: 59.91 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7927, allocations: 0 / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.7929, allocations: 23.83 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7929, allocations: 4 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001734/0.7931, allocations: 162.4 kB / 1.029 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.7932, allocations: 31.62 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.7932, allocations: 47.53 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7932, allocations: 4 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.7933, allocations: 3.984 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.7933, allocations: 0 / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.7937, allocations: 377.2 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7937, allocations: 0 / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.794, allocations: 59.95 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.794, allocations: 0 / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.794, allocations: 3.938 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.794, allocations: 3.938 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.794, allocations: 8 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.7947, allocations: 372.2 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.7948, allocations: 120.7 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.7949, allocations: 7.938 kB / 1.03 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.7951, allocations: 16.05 kB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.7951, allocations: 7.984 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.7952, allocations: 8 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003325/0.7955, allocations: 303.1 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7955, allocations: 0 / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003193/0.7958, allocations: 71.84 kB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009315/0.7968, allocations: 0.9294 MB / 1.032 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.7971, allocations: 143.9 kB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7972, allocations: 0 / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7973, allocations: 83.97 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.798, allocations: 99.22 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.803, allocations: 3.658 MB / 1.035 GB, free: 15.31 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.8035, allocations: 0.7951 MB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.8036, allocations: 38.94 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.8038, allocations: 115.4 kB / 1.036 GB, free: 14.34 MB / 0.795 GB Notification: Performance of SimCode: time 1.032e-06/0.8038, allocations: 4 kB / 1.036 GB, free: 14.34 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.829, allocations: 7.681 MB / 1.044 GB, free: 6.957 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.8293, allocations: 275.6 kB / 1.044 GB, free: 6.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.821, allocations: 1.891 kB / 1.044 GB, free: 6.59 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)