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.0009835/0.0009838, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001737/0.001737, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.989/1.989, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.251/1.251, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5701, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00411/0.5743, allocations: 2.408 MB / 0.5854 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.5779, allocations: 1.911 MB / 0.5872 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.5784, allocations: 4.094 kB / 0.5872 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.5804, allocations: 450.5 kB / 0.5877 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.5811, allocations: 151.9 kB / 0.5878 GB, free: 0.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.5813, allocations: 34.22 kB / 0.5878 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009757/0.5823, allocations: 319.8 kB / 0.5881 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.5827, allocations: 113.8 kB / 0.5882 GB, free: 400 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.5831, allocations: 140.4 kB / 0.5884 GB, free: 336 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.5835, allocations: 150.8 kB / 0.5885 GB, free: 264 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.5836, allocations: 18.56 kB / 0.5885 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.5838, allocations: 18.78 kB / 0.5886 GB, free: 264 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.5839, allocations: 67.44 kB / 0.5886 GB, free: 232 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.5841, allocations: 111.6 kB / 0.5887 GB, free: 152 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.5849, allocations: 439.6 kB / 0.5892 GB, free: 60 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5849, allocations: 0 / 0.5892 GB, free: 60 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5849, allocations: 4 kB / 0.5892 GB, free: 56 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.5849, allocations: 1.375 kB / 0.5892 GB, free: 56 kB / 430.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.001774/0.5867, allocations: 0.6514 MB / 0.5898 GB, free: 15.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.5868, allocations: 13.95 kB / 0.5898 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.587, allocations: 54.27 kB / 0.5899 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.5872, allocations: 48.92 kB / 0.5899 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009197/0.5881, allocations: 365.2 kB / 0.5903 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.5881, allocations: 16.75 kB / 0.5903 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.5882, allocations: 20.84 kB / 0.5903 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006702/0.5889, allocations: 202.5 kB / 0.5905 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5889, allocations: 4.688 kB / 0.5905 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.589, allocations: 10.31 kB / 0.5905 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.589, allocations: 5.25 kB / 0.5905 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/0.5896, allocations: 168.7 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.5917, allocations: 0.8813 MB / 0.5915 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/0.5921, allocations: 159.6 kB / 0.5917 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.5922, allocations: 1.875 kB / 0.5917 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5922, allocations: 45.41 kB / 0.5917 GB, free: 14.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 3.066e-06/0.5922, allocations: 4 kB / 0.5917 GB, free: 14.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009286/0.5932, allocations: 263.8 kB / 0.592 GB, free: 14.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5932, allocations: 58.08 kB / 0.592 GB, free: 14.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007768/0.594, allocations: 415.6 kB / 0.5924 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.5941, allocations: 26.64 kB / 0.5925 GB, free: 13.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.5943, allocations: 208.6 kB / 0.5927 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.5944, allocations: 63.3 kB / 0.5927 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.5944, allocations: 4 kB / 0.5927 GB, free: 13.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5946, allocations: 345.4 kB / 0.593 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.5948, allocations: 64.06 kB / 0.5931 GB, free: 13.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.595, allocations: 63.34 kB / 0.5932 GB, free: 13.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.5953, allocations: 74.38 kB / 0.5932 GB, free: 13.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5953, allocations: 0 / 0.5932 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006113/0.5959, allocations: 216.5 kB / 0.5934 GB, free: 13.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.5959, allocations: 5.875 kB / 0.5934 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5959, allocations: 0 / 0.5934 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.596, allocations: 0.9688 kB / 0.5935 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.5963, allocations: 61.52 kB / 0.5935 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5964, allocations: 5.188 kB / 0.5935 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.5967, allocations: 27.91 kB / 0.5935 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.5967, allocations: 2.812 kB / 0.5935 GB, free: 13.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.5969, allocations: 165.5 kB / 0.5937 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.843e-05/0.597, allocations: 36.06 kB / 0.5937 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.5972, allocations: 40.61 kB / 0.5938 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5972, allocations: 5.938 kB / 0.5938 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5972, allocations: 2.078 kB / 0.5938 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.5972, allocations: 0.75 kB / 0.5938 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.5979, allocations: 375.2 kB / 0.5941 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5979, allocations: 0 / 0.5941 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.5983, allocations: 57.69 kB / 0.5942 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5983, allocations: 0.6875 kB / 0.5942 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.5983, allocations: 6.078 kB / 0.5942 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5983, allocations: 5.031 kB / 0.5942 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5983, allocations: 4 kB / 0.5942 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.5992, allocations: 396.9 kB / 0.5946 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.5994, allocations: 119.4 kB / 0.5947 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.5995, allocations: 5.344 kB / 0.5947 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.5998, allocations: 11.95 kB / 0.5947 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.5999, allocations: 18.36 kB / 0.5947 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5999, allocations: 2.75 kB / 0.5947 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005415/0.6004, allocations: 298.6 kB / 0.595 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6004, allocations: 4.062 kB / 0.595 GB, free: 12.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005148/0.601, allocations: 75.44 kB / 0.5951 GB, free: 12.05 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 (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.001159/0.6021, allocations: 0.9307 MB / 0.596 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005109/0.6027, allocations: 152.5 kB / 0.5962 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6027, allocations: 3.594 kB / 0.5962 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.6029, allocations: 86.12 kB / 0.5962 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.6036, allocations: 83.8 kB / 0.5963 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/0.6089, allocations: 2.185 MB / 0.5985 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.6094, allocations: 0.8031 MB / 0.5992 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.6096, allocations: 38.84 kB / 0.5993 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.6099, allocations: 119.5 kB / 0.5994 GB, free: 9.223 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6099, allocations: 0 / 0.5994 GB, free: 9.223 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06017/0.6701, allocations: 7.15 MB / 0.6064 GB, free: 6.102 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.6704, allocations: 233.5 kB / 0.6066 GB, free: 5.867 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.356, allocations: 0 / 0.6066 GB, free: 5.867 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: