Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_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.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 68.23 kB / 0.5019 GB, free: 3.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4249, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004239/0.4292, allocations: 3.029 MB / 0.5832 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.4316, allocations: 2.145 MB / 0.5853 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.4318, allocations: 6.562 kB / 0.5853 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.4332, allocations: 0.495 MB / 0.5858 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.4335, allocations: 159.9 kB / 0.5859 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.4337, allocations: 56.77 kB / 0.586 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.4342, allocations: 442.6 kB / 0.5864 GB, free: 304 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.4344, allocations: 154.1 kB / 0.5865 GB, free: 224 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.4346, allocations: 157.2 kB / 0.5867 GB, free: 144 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.4349, allocations: 183.8 kB / 0.5869 GB, free: 48 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.4349, allocations: 33.97 kB / 0.5869 GB, free: 48 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.435, allocations: 38.59 kB / 0.5869 GB, free: 44 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.4352, allocations: 98.62 kB / 0.587 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.4354, allocations: 214.5 kB / 0.5872 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.436, allocations: 0.5398 MB / 0.5878 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.436, allocations: 0 / 0.5878 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.436, allocations: 0 / 0.5878 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.436, allocations: 0.9062 kB / 0.5878 GB, free: 15.66 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001074/0.4371, allocations: 0.7019 MB / 0.5884 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4372, allocations: 9.375 kB / 0.5885 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.4372, allocations: 54.3 kB / 0.5885 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.4373, allocations: 55 kB / 0.5886 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.4379, allocations: 376.4 kB / 0.5889 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.4379, allocations: 17.22 kB / 0.5889 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.438, allocations: 26 kB / 0.589 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.4384, allocations: 200.2 kB / 0.5892 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4384, allocations: 0.9062 kB / 0.5892 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4384, allocations: 10 kB / 0.5892 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.4385, allocations: 4.438 kB / 0.5892 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.4389, allocations: 165.7 kB / 0.5893 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.4401, allocations: 0.8689 MB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.4404, allocations: 156.1 kB / 0.5903 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.4407, allocations: 116.1 kB / 0.5904 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.4407, allocations: 2.094 kB / 0.5904 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.4407, allocations: 35.75 kB / 0.5905 GB, free: 13.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.4407, allocations: 0.8125 kB / 0.5905 GB, free: 13.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006477/0.4414, allocations: 259.6 kB / 0.5907 GB, free: 13.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.4414, allocations: 57.84 kB / 0.5908 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.442, allocations: 413.5 kB / 0.5912 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.442, allocations: 31.67 kB / 0.5912 GB, free: 13.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4421, allocations: 207.2 kB / 0.5914 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.4422, allocations: 68.27 kB / 0.5915 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.4423, allocations: 30 kB / 0.5915 GB, free: 13.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4424, allocations: 352.1 kB / 0.5918 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4426, allocations: 57.16 kB / 0.5919 GB, free: 12.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.4427, allocations: 62.62 kB / 0.5919 GB, free: 12.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.443, allocations: 131.4 kB / 0.5921 GB, free: 12.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4431, allocations: 1.156 kB / 0.5921 GB, free: 12.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004059/0.4435, allocations: 213.2 kB / 0.5923 GB, free: 12.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4435, allocations: 10.98 kB / 0.5923 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4435, allocations: 0 / 0.5923 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4435, allocations: 0 / 0.5923 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.4438, allocations: 51.33 kB / 0.5923 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4438, allocations: 1.375 kB / 0.5923 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.444, allocations: 27.8 kB / 0.5924 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.444, allocations: 3.938 kB / 0.5924 GB, free: 12.52 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 (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.0001546/0.4441, allocations: 171 kB / 0.5925 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.4442, allocations: 37.03 kB / 0.5926 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.4443, allocations: 39.78 kB / 0.5926 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4443, allocations: 2.562 kB / 0.5926 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4443, allocations: 0 / 0.5926 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4443, allocations: 6.594 kB / 0.5926 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4448, allocations: 374.9 kB / 0.593 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4448, allocations: 0 / 0.593 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.4451, allocations: 59.47 kB / 0.593 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4451, allocations: 4.812 kB / 0.593 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4451, allocations: 1.984 kB / 0.593 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.4451, allocations: 1.625 kB / 0.593 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4451, allocations: 4 kB / 0.593 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.4458, allocations: 376.8 kB / 0.5934 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.4459, allocations: 122.8 kB / 0.5935 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.4459, allocations: 7 kB / 0.5935 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.4461, allocations: 10.3 kB / 0.5935 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.4461, allocations: 8.812 kB / 0.5935 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4462, allocations: 8.344 kB / 0.5935 GB, free: 11.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.4465, allocations: 300.5 kB / 0.5938 GB, free: 11.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4466, allocations: 0 / 0.5938 GB, free: 11.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00033/0.4469, allocations: 72.03 kB / 0.5939 GB, free: 11.51 MB / 446.1 MB 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.0009025/0.4478, allocations: 0.9173 MB / 0.5948 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004138/0.4482, allocations: 154.5 kB / 0.5949 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4482, allocations: 4.062 kB / 0.5949 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.4484, allocations: 80.48 kB / 0.595 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.449, allocations: 96.69 kB / 0.5951 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.454, allocations: 3.545 MB / 0.5986 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.4544, allocations: 0.7943 MB / 0.5993 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.4546, allocations: 35.3 kB / 0.5994 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4547, allocations: 118 kB / 0.5995 GB, free: 7.672 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4547, allocations: 3.938 kB / 0.5995 GB, free: 7.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.4824, allocations: 7.808 MB / 0.6071 GB, free: 4.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.758, allocations: 8.375 kB / 0.6071 GB, free: 4.02 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)