Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.004597/0.004597, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.00115/0.00115, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7381/0.7381, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.89 kB / 0.5809 GB, free: 7.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3819, allocations: 80.2 MB / 0.6593 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002129/0.3841, allocations: 1.414 MB / 0.6606 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.3876, allocations: 2.838 MB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.3877, allocations: 1.062 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.3878, allocations: 5.391 kB / 0.6634 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.3879, allocations: 16.69 kB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3913, allocations: 1.543 MB / 0.6649 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.3914, allocations: 46.06 kB / 0.665 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.3914, allocations: 2.406 kB / 0.665 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.3914, allocations: 19.48 kB / 0.665 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.3915, allocations: 15.38 kB / 0.665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3915, allocations: 5.031 kB / 0.665 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.3933, allocations: 1.477 MB / 0.6665 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.3934, allocations: 5.047 kB / 0.6665 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.3934, allocations: 23.14 kB / 0.6665 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3946, allocations: 1.062 MB / 0.6675 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3946, allocations: 0 / 0.6675 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3946, allocations: 5.188 kB / 0.6675 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.3947, allocations: 0 / 0.6675 GB, free: 4.457 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004918/0.3952, allocations: 0.5151 MB / 0.668 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3952, allocations: 10.78 kB / 0.6681 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.3952, allocations: 110 kB / 0.6682 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.3953, allocations: 81.62 kB / 0.6682 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.476e-05/0.3954, allocations: 246.5 kB / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3954, allocations: 162.5 kB / 0.6686 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3954, allocations: 156 kB / 0.6688 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.735e-05/0.3955, allocations: 101 kB / 0.6689 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3955, allocations: 76.59 kB / 0.6689 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3955, allocations: 150.6 kB / 0.6691 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3955, allocations: 154.6 kB / 0.6692 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.3956, allocations: 155.6 kB / 0.6694 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.3957, allocations: 472.9 kB / 0.6698 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.3958, allocations: 166.5 kB / 0.67 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.3958, allocations: 80.14 kB / 0.6701 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.3958, allocations: 76.75 kB / 0.6701 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3958, allocations: 113.8 kB / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.3959, allocations: 0 / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.23e-05/0.3959, allocations: 37.55 kB / 0.6703 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.396, allocations: 126.7 kB / 0.6704 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.3961, allocations: 130 kB / 0.6705 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.3961, allocations: 25.7 kB / 0.6706 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.3961, allocations: 102.7 kB / 0.6707 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3961, allocations: 4 kB / 0.6707 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.3961, allocations: 14.16 kB / 0.6707 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.3962, allocations: 325.7 kB / 0.671 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.3962, allocations: 2.438 kB / 0.671 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/0.3962, allocations: 6.75 kB / 0.671 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/0.3963, allocations: 17.73 kB / 0.671 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3963, allocations: 0.9688 kB / 0.671 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001063/0.3964, allocations: 43.06 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3964, allocations: 11.06 kB / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3964, allocations: 2.812 kB / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3964, allocations: 1.531 kB / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3964, allocations: 0 / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3965, allocations: 0 / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.3965, allocations: 5.312 kB / 0.6711 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3965, allocations: 5.125 kB / 0.6711 GB, free: 0.75 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.057e-05/0.3965, allocations: 186.2 kB / 0.6713 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3966, allocations: 116.4 kB / 0.6714 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.3966, allocations: 114.2 kB / 0.6715 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.3966, allocations: 177.5 kB / 0.6716 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.464e-05/0.3967, allocations: 189.5 kB / 0.6718 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.445e-05/0.3968, allocations: 177.7 kB / 0.672 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.397, allocations: 419.6 kB / 0.6724 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.397, allocations: 105 kB / 0.6725 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.3971, allocations: 102.2 kB / 0.6726 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.498e-05/0.3971, allocations: 185.4 kB / 0.6728 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.3972, allocations: 177.7 kB / 0.6729 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.283e-05/0.3973, allocations: 185.7 kB / 0.6731 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-05/0.3973, allocations: 176.3 kB / 0.6733 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.3975, allocations: 317 kB / 0.6736 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.329e-05/0.3976, allocations: 192.5 kB / 0.6738 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.606e-05/0.3976, allocations: 185.5 kB / 0.6739 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.3977, allocations: 101 kB / 0.674 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.3978, allocations: 185.5 kB / 0.6742 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.3978, allocations: 102.3 kB / 0.6743 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.3979, allocations: 103.9 kB / 0.6744 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3979, allocations: 0 / 0.6744 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007184/0.3986, allocations: 277.2 kB / 0.6747 GB, free: 13.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00124/0.3999, allocations: 1.161 MB / 0.6758 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.4, allocations: 40.42 kB / 0.6759 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4, allocations: 0 / 0.6759 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.4, allocations: 1.188 kB / 0.6759 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.4004, allocations: 475.2 kB / 0.6763 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4017, allocations: 1.574 MB / 0.6778 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.4019, allocations: 0.6805 MB / 0.6785 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.216e-05/0.4019, allocations: 0 / 0.6785 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.402, allocations: 14.34 kB / 0.6785 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.402, allocations: 4.031 kB / 0.6785 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.4291, allocations: 6.841 MB / 0.6852 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.609/8.038, allocations: 18.48 kB / 0.6852 GB, free: 5.926 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)