Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_8_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_8_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.0009529/0.0009529, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001223/0.001223, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.765/1.765, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005674/0.0005676, allocations: 14.56 kB / 0.6739 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2452, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002952/0.2482, allocations: 2.598 MB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2506, allocations: 1.992 MB / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2507, allocations: 8 kB / 0.7919 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009829/0.2517, allocations: 419 kB / 0.7923 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.2519, allocations: 131.1 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.595e-05/0.252, allocations: 39.97 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.2525, allocations: 422.6 kB / 0.7929 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2527, allocations: 111 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.2529, allocations: 135.4 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2531, allocations: 159.3 kB / 0.7933 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.2531, allocations: 16 kB / 0.7933 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.2532, allocations: 20 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.2533, allocations: 83.66 kB / 0.7934 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.2534, allocations: 109.5 kB / 0.7935 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.2537, allocations: 446.7 kB / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2537, allocations: 0 / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2537, allocations: 0 / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2538, allocations: 0 / 0.7939 GB, free: 5.117 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00089/0.2547, allocations: 0.6501 MB / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2547, allocations: 8.031 kB / 0.7946 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.2548, allocations: 54.55 kB / 0.7946 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.2548, allocations: 51.39 kB / 0.7947 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.2553, allocations: 361 kB / 0.795 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2553, allocations: 12.44 kB / 0.795 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.2554, allocations: 27.94 kB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.2557, allocations: 211.3 kB / 0.7953 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.2558, allocations: 0 / 0.7953 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.2558, allocations: 4 kB / 0.7953 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2558, allocations: 7.938 kB / 0.7953 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.2562, allocations: 177.6 kB / 0.7954 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.2573, allocations: 0.8739 MB / 0.7963 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.2576, allocations: 162.6 kB / 0.7964 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2578, allocations: 120.8 kB / 0.7966 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2578, allocations: 3.984 kB / 0.7966 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2578, allocations: 38.56 kB / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.2578, allocations: 0 / 0.7966 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005626/0.2584, allocations: 265.4 kB / 0.7968 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.2584, allocations: 51.41 kB / 0.7969 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.2589, allocations: 417.7 kB / 0.7973 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2589, allocations: 25.7 kB / 0.7973 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.2591, allocations: 216.1 kB / 0.7975 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.2591, allocations: 59.11 kB / 0.7976 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.2592, allocations: 8 kB / 0.7976 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2593, allocations: 342.8 kB / 0.7979 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2595, allocations: 59.97 kB / 0.798 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2596, allocations: 66.84 kB / 0.798 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.2597, allocations: 71.98 kB / 0.7981 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2597, allocations: 0 / 0.7981 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000365/0.2601, allocations: 217.1 kB / 0.7983 GB, free: 380 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2601, allocations: 8 kB / 0.7983 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.2602, allocations: 0 / 0.7983 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2602, allocations: 4 kB / 0.7983 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2604, allocations: 55.95 kB / 0.7984 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2604, allocations: 0 / 0.7984 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2606, allocations: 27.83 kB / 0.7984 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2606, allocations: 8 kB / 0.7984 GB, free: 276 kB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2608, allocations: 169.7 kB / 0.7986 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.2608, allocations: 35.61 kB / 0.7986 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.2609, allocations: 39.59 kB / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2609, allocations: 0 / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2609, allocations: 0 / 0.7986 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2609, allocations: 4 kB / 0.7987 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.2613, allocations: 381.3 kB / 0.799 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.2614, allocations: 0 / 0.799 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.2616, allocations: 59.91 kB / 0.7991 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2616, allocations: 0 / 0.7991 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.2616, allocations: 4 kB / 0.7991 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2616, allocations: 4 kB / 0.7991 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2617, allocations: 0 / 0.7991 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.2622, allocations: 400.2 kB / 0.7995 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.2623, allocations: 124.5 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.2624, allocations: 4 kB / 0.7996 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2626, allocations: 20.05 kB / 0.7996 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.2626, allocations: 11.98 kB / 0.7996 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2626, allocations: 4 kB / 0.7996 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003253/0.263, allocations: 299.1 kB / 0.7999 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.263, allocations: 0 / 0.7999 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002973/0.2633, allocations: 75.84 kB / 0.8 GB, free: 14.57 MB / 0.6231 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 (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.0008723/0.2642, allocations: 0.9306 MB / 0.8009 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.2645, allocations: 155.9 kB / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2645, allocations: 0 / 0.801 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.2648, allocations: 83.89 kB / 0.8011 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.2656, allocations: 84.36 kB / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.269, allocations: 2.235 MB / 0.8034 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2693, allocations: 0.7993 MB / 0.8042 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.2695, allocations: 30.97 kB / 0.8042 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.2696, allocations: 115.4 kB / 0.8043 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2697, allocations: 0 / 0.8043 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.2872, allocations: 7.17 MB / 0.8113 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/0.2875, allocations: 258.2 kB / 0.8115 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.215, allocations: 6.969 kB / 0.8116 GB, free: 2.844 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: