Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001093/0.001093, 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.001141/0.001141, allocations: 192.8 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 66.88 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.214, allocations: 114.6 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004984/0.2191, allocations: 4.178 MB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002514/0.2216, allocations: 2.407 MB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.2218, allocations: 8 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.2232, allocations: 0.4979 MB / 0.7898 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.2235, allocations: 222.4 kB / 0.79 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.2237, allocations: 119.9 kB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006675/0.2243, allocations: 0.8073 MB / 0.7909 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.2247, allocations: 276.2 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.2251, allocations: 270.9 kB / 0.7914 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.2254, allocations: 314.6 kB / 0.7917 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.2254, allocations: 48 kB / 0.7917 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.2255, allocations: 48 kB / 0.7918 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.2257, allocations: 147.4 kB / 0.7919 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002746/0.226, allocations: 362.3 kB / 0.7923 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.2267, allocations: 0.9615 MB / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2267, allocations: 7.922 kB / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2267, allocations: 0 / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.2267, allocations: 0 / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001251/0.2279, allocations: 0.9539 MB / 0.7942 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.228, allocations: 12.03 kB / 0.7942 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.2281, allocations: 86.7 kB / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.508e-05/0.2282, allocations: 76.09 kB / 0.7943 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.2287, allocations: 453.7 kB / 0.7948 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2287, allocations: 29.38 kB / 0.7948 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.2288, allocations: 48.38 kB / 0.7948 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.2296, allocations: 430.6 kB / 0.7952 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.2297, allocations: 4 kB / 0.7952 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.2297, allocations: 20 kB / 0.7953 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2297, allocations: 12 kB / 0.7953 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006327/0.2304, allocations: 371.8 kB / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.2323, allocations: 1.524 MB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.2328, allocations: 346.7 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.2332, allocations: 316.8 kB / 0.7977 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.2332, allocations: 7.938 kB / 0.7978 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.2333, allocations: 42.55 kB / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.724e-06/0.2333, allocations: 3.938 kB / 0.7978 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.000853/0.2341, allocations: 0.4899 MB / 0.7983 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2342, allocations: 55.41 kB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.2347, allocations: 485.9 kB / 0.7988 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.2347, allocations: 33.7 kB / 0.7988 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2349, allocations: 276.3 kB / 0.7991 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-05/0.235, allocations: 145.8 kB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.2351, allocations: 62.08 kB / 0.7993 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2352, allocations: 370.8 kB / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.2354, allocations: 116.7 kB / 0.7998 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.2357, allocations: 129.2 kB / 0.7999 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.2361, allocations: 298.1 kB / 0.8002 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2361, allocations: 0 / 0.8002 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005968/0.2367, allocations: 400.4 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2368, allocations: 4 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2368, allocations: 0.7656 kB / 0.8005 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2368, allocations: 4 kB / 0.8006 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.2373, allocations: 123.9 kB / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2373, allocations: 0 / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.2375, allocations: 47.66 kB / 0.8007 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.2376, allocations: 15.94 kB / 0.8007 GB, free: 11.22 MB / 0.6231 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 (46): * Single equations (assignments): 46 * 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.000195/0.2378, allocations: 201.7 kB / 0.8009 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.2378, allocations: 59.22 kB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.238, allocations: 61.11 kB / 0.801 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.238, allocations: 4 kB / 0.801 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.238, allocations: 8 kB / 0.801 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.238, allocations: 3.984 kB / 0.8011 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.2386, allocations: 0.5674 MB / 0.8016 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.2386, allocations: 3.938 kB / 0.8016 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.2391, allocations: 123.9 kB / 0.8017 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.2391, allocations: 0 / 0.8017 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.2391, allocations: 8 kB / 0.8017 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2391, allocations: 0 / 0.8017 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2391, allocations: 4 kB / 0.8017 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.2401, allocations: 0.6518 MB / 0.8024 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2402, allocations: 140.3 kB / 0.8025 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.2402, allocations: 8 kB / 0.8025 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2405, allocations: 23.98 kB / 0.8025 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.2405, allocations: 31.89 kB / 0.8026 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.2406, allocations: 8 kB / 0.8026 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003468/0.2409, allocations: 347.1 kB / 0.8029 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2409, allocations: 0 / 0.8029 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003597/0.2413, allocations: 147.6 kB / 0.8031 GB, free: 8.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001134/0.2424, allocations: 1.215 MB / 0.8042 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005334/0.243, allocations: 323.6 kB / 0.8045 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.243, allocations: 0 / 0.8045 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.2432, allocations: 176.2 kB / 0.8047 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.2439, allocations: 124.7 kB / 0.8048 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006212/0.2501, allocations: 5.219 MB / 0.8099 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.2505, allocations: 0.8665 MB / 0.8108 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.2507, allocations: 60.38 kB / 0.8108 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.2509, allocations: 187.4 kB / 0.811 GB, free: 472 kB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.251, allocations: 4 kB / 0.811 GB, free: 468 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/0.3089, allocations: 10.79 MB / 0.8215 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.3092, allocations: 273.1 kB / 0.8218 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.25, allocations: 2.969 kB / 0.8218 GB, free: 5.617 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)