Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_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.0008887/0.0008888, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005024/0.005025, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7154/0.7154, allocations: 132.3 MB / 423.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8 kB / 0.5041 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3643, allocations: 81.58 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003674/0.368, allocations: 3.761 MB / 0.5875 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.3713, allocations: 2.341 MB / 0.5897 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005226/0.3719, allocations: 18.03 kB / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.3736, allocations: 0.5024 MB / 0.5903 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.3743, allocations: 217 kB / 0.5905 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3746, allocations: 121.8 kB / 0.5906 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008687/0.3755, allocations: 0.8036 MB / 0.5914 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.3759, allocations: 284.2 kB / 0.5916 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.3762, allocations: 232.8 kB / 0.5919 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.3766, allocations: 287.9 kB / 0.5921 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.3767, allocations: 39.53 kB / 0.5922 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.3768, allocations: 33.94 kB / 0.5922 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.3769, allocations: 130.4 kB / 0.5923 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.3773, allocations: 358 kB / 0.5927 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009951/0.3783, allocations: 0.9374 MB / 0.5936 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3783, allocations: 0 / 0.5936 GB, free: 13.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3783, allocations: 0 / 0.5936 GB, free: 13.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3783, allocations: 0.625 kB / 0.5936 GB, free: 13.8 MB / 446.1 MB 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.00127/0.3796, allocations: 0.846 MB / 0.5944 GB, free: 13.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3796, allocations: 13.09 kB / 0.5944 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.3797, allocations: 90.05 kB / 0.5945 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3799, allocations: 76.94 kB / 0.5946 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.3804, allocations: 452 kB / 0.595 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3804, allocations: 36.78 kB / 0.595 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.3805, allocations: 52.48 kB / 0.5951 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.3813, allocations: 434 kB / 0.5955 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.3814, allocations: 8.609 kB / 0.5955 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.3814, allocations: 21 kB / 0.5955 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3815, allocations: 10.97 kB / 0.5955 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.3822, allocations: 375 kB / 0.5959 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.3843, allocations: 1.537 MB / 0.5974 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.3848, allocations: 357.7 kB / 0.5977 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.3853, allocations: 320.8 kB / 0.5981 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3853, allocations: 5.031 kB / 0.5981 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3854, allocations: 35.97 kB / 0.5981 GB, free: 11.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.473e-06/0.3854, allocations: 0 / 0.5981 GB, free: 11.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009507/0.3863, allocations: 0.5049 MB / 0.5986 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.3864, allocations: 59.92 kB / 0.5986 GB, free: 10.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.3869, allocations: 490.8 kB / 0.5991 GB, free: 10.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.387, allocations: 34.58 kB / 0.5991 GB, free: 10.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3871, allocations: 275.2 kB / 0.5994 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3873, allocations: 146.5 kB / 0.5995 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.3873, allocations: 36.11 kB / 0.5996 GB, free: 9.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3874, allocations: 358.6 kB / 0.5999 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3877, allocations: 130.3 kB / 0.6 GB, free: 9.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.388, allocations: 135.9 kB / 0.6002 GB, free: 9.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.3885, allocations: 306.4 kB / 0.6005 GB, free: 9.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3885, allocations: 3.938 kB / 0.6005 GB, free: 9.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006532/0.3892, allocations: 398.4 kB / 0.6009 GB, free: 9.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3892, allocations: 7.078 kB / 0.6009 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3892, allocations: 0 / 0.6009 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3892, allocations: 1.312 kB / 0.6009 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.3897, allocations: 134.6 kB / 0.601 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3897, allocations: 1.25 kB / 0.601 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.39, allocations: 52.08 kB / 0.601 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3901, allocations: 11.53 kB / 0.601 GB, free: 9.082 MB / 446.1 MB 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.0002176/0.3903, allocations: 206.7 kB / 0.6012 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.3904, allocations: 51.69 kB / 0.6013 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3905, allocations: 62.62 kB / 0.6014 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3905, allocations: 5.469 kB / 0.6014 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.3905, allocations: 0 / 0.6014 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3905, allocations: 0 / 0.6014 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.3912, allocations: 0.5793 MB / 0.6019 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3912, allocations: 0 / 0.6019 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.3917, allocations: 134.9 kB / 0.6021 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3917, allocations: 1.281 kB / 0.6021 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3917, allocations: 13.48 kB / 0.6021 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3917, allocations: 2.469 kB / 0.6021 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3917, allocations: 0 / 0.6021 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.3927, allocations: 0.6707 MB / 0.6027 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3929, allocations: 139.2 kB / 0.6029 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.3929, allocations: 6.188 kB / 0.6029 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.3932, allocations: 31.86 kB / 0.6029 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.3933, allocations: 23 kB / 0.6029 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.3933, allocations: 11.84 kB / 0.6029 GB, free: 7.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003952/0.3937, allocations: 351.1 kB / 0.6033 GB, free: 7.508 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3937, allocations: 0 / 0.6033 GB, free: 7.508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.3941, allocations: 144.8 kB / 0.6034 GB, free: 7.477 MB / 446.1 MB 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.001294/0.3954, allocations: 1.223 MB / 0.6046 GB, free: 6.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005943/0.396, allocations: 324.6 kB / 0.6049 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.396, allocations: 0 / 0.6049 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.3964, allocations: 189.3 kB / 0.6051 GB, free: 6.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.3971, allocations: 127.5 kB / 0.6052 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.4043, allocations: 5.337 MB / 0.6104 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4047, allocations: 0.8705 MB / 0.6113 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.4049, allocations: 54.05 kB / 0.6113 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.4052, allocations: 191.4 kB / 0.6115 GB, free: 1.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4052, allocations: 0 / 0.6115 GB, free: 1.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.544/2.95, allocations: 10.62 MB / 0.6219 GB, free: 9.211 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/2.95, allocations: 265.4 kB / 0.6221 GB, free: 8.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.326/7.276, allocations: 0 / 0.6221 GB, free: 8.949 MB / 462.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)