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.0007325/0.0007326, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005424/0.005424, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7368/0.7368, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005058, allocations: 8 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3832, allocations: 81.57 MB / 0.5838 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00258/0.3858, allocations: 2.684 MB / 0.5864 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3881, allocations: 2.086 MB / 0.5884 GB, free: 460 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.3883, allocations: 9.156 kB / 0.5885 GB, free: 456 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.3895, allocations: 487 kB / 0.5889 GB, free: 244 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.3897, allocations: 126.2 kB / 0.589 GB, free: 164 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.3898, allocations: 52.88 kB / 0.5891 GB, free: 124 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3904, allocations: 463.6 kB / 0.5895 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.3906, allocations: 133.7 kB / 0.5897 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.3908, allocations: 140.3 kB / 0.5898 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3911, allocations: 173.7 kB / 0.59 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.3911, allocations: 17.88 kB / 0.59 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.704e-05/0.3912, allocations: 18.16 kB / 0.59 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.3913, allocations: 74.67 kB / 0.5901 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.3915, allocations: 223.9 kB / 0.5903 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.3921, allocations: 0.5186 MB / 0.5908 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3921, allocations: 0 / 0.5908 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3922, allocations: 4 kB / 0.5908 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3922, allocations: 0.6562 kB / 0.5908 GB, free: 15.35 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.0009427/0.3931, allocations: 0.6433 MB / 0.5914 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3932, allocations: 13.69 kB / 0.5914 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/0.3933, allocations: 58.33 kB / 0.5915 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.3933, allocations: 46.84 kB / 0.5915 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.3938, allocations: 372.3 kB / 0.5919 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.3938, allocations: 17.38 kB / 0.5919 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.3939, allocations: 26.33 kB / 0.5919 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.3943, allocations: 204.4 kB / 0.5921 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.3944, allocations: 9.281 kB / 0.5921 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.3944, allocations: 9.812 kB / 0.5921 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3944, allocations: 5.594 kB / 0.5921 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.3948, allocations: 170.6 kB / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3962, allocations: 0.8766 MB / 0.5932 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.3965, allocations: 157.1 kB / 0.5933 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.3968, allocations: 121.6 kB / 0.5934 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3968, allocations: 7.375 kB / 0.5934 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3968, allocations: 35.2 kB / 0.5935 GB, free: 13.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/0.3968, allocations: 5.297 kB / 0.5935 GB, free: 13.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006439/0.3975, allocations: 268.5 kB / 0.5937 GB, free: 13.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.3975, allocations: 53.28 kB / 0.5938 GB, free: 13.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.3981, allocations: 418.7 kB / 0.5942 GB, free: 13.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.3981, allocations: 30.73 kB / 0.5942 GB, free: 13.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3983, allocations: 206.5 kB / 0.5944 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.3983, allocations: 60.3 kB / 0.5945 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.3984, allocations: 24.66 kB / 0.5945 GB, free: 12.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3985, allocations: 351.2 kB / 0.5948 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.3987, allocations: 59.34 kB / 0.5949 GB, free: 12.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.3989, allocations: 61.28 kB / 0.5949 GB, free: 12.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3992, allocations: 155.6 kB / 0.5951 GB, free: 12.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3992, allocations: 0.6562 kB / 0.5951 GB, free: 12.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004196/0.3996, allocations: 221.7 kB / 0.5953 GB, free: 12.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3997, allocations: 6.094 kB / 0.5953 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3997, allocations: 0 / 0.5953 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3997, allocations: 5.312 kB / 0.5953 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.4, allocations: 60.69 kB / 0.5954 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.4, allocations: 2.219 kB / 0.5954 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.4002, allocations: 30.56 kB / 0.5954 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.4002, allocations: 3.938 kB / 0.5954 GB, free: 12.25 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.0001698/0.4004, allocations: 160.8 kB / 0.5956 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.4004, allocations: 40.12 kB / 0.5956 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.4005, allocations: 42.02 kB / 0.5956 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4005, allocations: 1.156 kB / 0.5956 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4006, allocations: 1.344 kB / 0.5956 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4006, allocations: 1.266 kB / 0.5956 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.401, allocations: 375 kB / 0.596 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.401, allocations: 4 kB / 0.596 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.4013, allocations: 61.23 kB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4013, allocations: 1.844 kB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4013, allocations: 5.156 kB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4013, allocations: 1.094 kB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4014, allocations: 0.5625 kB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.402, allocations: 397.1 kB / 0.5964 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4021, allocations: 118.6 kB / 0.5966 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.4021, allocations: 5.5 kB / 0.5966 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.4023, allocations: 16.48 kB / 0.5966 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4024, allocations: 16.59 kB / 0.5966 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.4024, allocations: 4.562 kB / 0.5966 GB, free: 11.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004732/0.4029, allocations: 304.5 kB / 0.5969 GB, free: 11.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4029, allocations: 0 / 0.5969 GB, free: 11.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.4034, allocations: 71.5 kB / 0.597 GB, free: 11.24 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.000907/0.4043, allocations: 0.9361 MB / 0.5979 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.4047, allocations: 149.8 kB / 0.598 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4047, allocations: 0 / 0.598 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.4049, allocations: 86.8 kB / 0.5981 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.4055, allocations: 90.53 kB / 0.5982 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.4106, allocations: 3.745 MB / 0.6018 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.411, allocations: 0.7973 MB / 0.6026 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.4112, allocations: 29.56 kB / 0.6026 GB, free: 7.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4114, allocations: 116.5 kB / 0.6028 GB, free: 7.215 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4114, allocations: 0 / 0.6028 GB, free: 7.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.734/2.145, allocations: 7.365 MB / 0.61 GB, free: 3.879 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003289/2.145, allocations: 255.7 kB / 0.6102 GB, free: 3.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/3.869, allocations: 0 / 0.6102 GB, free: 3.625 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/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)