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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 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.001329/0.001329, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7455/0.7455, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 62.59 kB / 0.5019 GB, free: 3.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3695, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002272/0.3718, allocations: 1.427 MB / 0.5816 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.3754, allocations: 2.838 MB / 0.5844 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.3755, allocations: 0 / 0.5844 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.3755, allocations: 5.344 kB / 0.5844 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.3756, allocations: 16.08 kB / 0.5844 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.3793, allocations: 1.54 MB / 0.5859 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.3793, allocations: 43.31 kB / 0.586 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.3794, allocations: 7.953 kB / 0.586 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.3794, allocations: 8.312 kB / 0.586 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.3794, allocations: 20.98 kB / 0.586 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.3795, allocations: 1.312 kB / 0.586 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.3817, allocations: 1.416 MB / 0.5874 GB, free: 388 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.3817, allocations: 2.922 kB / 0.5874 GB, free: 388 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.3817, allocations: 19.8 kB / 0.5874 GB, free: 376 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.3832, allocations: 1.074 MB / 0.5885 GB, free: 80 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3833, allocations: 0.5312 kB / 0.5885 GB, free: 80 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3833, allocations: 4 kB / 0.5885 GB, free: 76 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3833, allocations: 1.219 kB / 0.5885 GB, free: 76 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006249/0.3839, allocations: 0.5084 MB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3839, allocations: 9.938 kB / 0.589 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.384, allocations: 110 kB / 0.5891 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.3841, allocations: 86.75 kB / 0.5892 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.3842, allocations: 249.4 kB / 0.5894 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/0.3843, allocations: 159.2 kB / 0.5896 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.3844, allocations: 151.7 kB / 0.5897 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.59e-05/0.3844, allocations: 106.8 kB / 0.5898 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.3844, allocations: 75.28 kB / 0.5899 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.3845, allocations: 150.6 kB / 0.59 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/0.3846, allocations: 152.6 kB / 0.5902 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.727e-05/0.3846, allocations: 154.6 kB / 0.5903 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.3849, allocations: 460.9 kB / 0.5907 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.385, allocations: 183 kB / 0.5909 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.143e-05/0.385, allocations: 80.14 kB / 0.591 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.3851, allocations: 80.44 kB / 0.5911 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3851, allocations: 106.5 kB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3851, allocations: 0.7188 kB / 0.5912 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.137e-05/0.3852, allocations: 32.98 kB / 0.5912 GB, free: 13.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.3853, allocations: 132.6 kB / 0.5913 GB, free: 13.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3854, allocations: 130.9 kB / 0.5915 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3854, allocations: 30.36 kB / 0.5915 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.3855, allocations: 87.84 kB / 0.5916 GB, free: 12.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3855, allocations: 0 / 0.5916 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.3855, allocations: 20.17 kB / 0.5916 GB, free: 12.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3857, allocations: 315 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.3857, allocations: 6.469 kB / 0.5919 GB, free: 12.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.3857, allocations: 3.766 kB / 0.5919 GB, free: 12.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.3858, allocations: 15.31 kB / 0.5919 GB, free: 12.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3858, allocations: 4.031 kB / 0.5919 GB, free: 12.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.3859, allocations: 53.67 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3859, allocations: 5 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3859, allocations: 3.109 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.386, allocations: 0.8125 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.386, allocations: 0.7031 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.386, allocations: 5.078 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.386, allocations: 3.938 kB / 0.592 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.386, allocations: 1.922 kB / 0.592 GB, free: 12.43 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 (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 9.527e-05/0.3861, allocations: 191.9 kB / 0.5922 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.3862, allocations: 112.3 kB / 0.5923 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.3862, allocations: 112.3 kB / 0.5924 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-05/0.3863, allocations: 178 kB / 0.5926 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-05/0.3864, allocations: 185.6 kB / 0.5927 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-05/0.3865, allocations: 187.1 kB / 0.5929 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.3867, allocations: 424.2 kB / 0.5933 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/0.3868, allocations: 106.4 kB / 0.5934 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.3868, allocations: 102.2 kB / 0.5935 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.273e-05/0.3869, allocations: 178 kB / 0.5937 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.3869, allocations: 182 kB / 0.5939 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-05/0.387, allocations: 187 kB / 0.594 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-05/0.3871, allocations: 182.2 kB / 0.5942 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.3872, allocations: 306.5 kB / 0.5945 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.3873, allocations: 189 kB / 0.5947 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.3874, allocations: 178.9 kB / 0.5949 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.3875, allocations: 110.5 kB / 0.595 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.3876, allocations: 178.2 kB / 0.5951 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.3876, allocations: 106 kB / 0.5952 GB, free: 8.934 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.484e-05/0.3877, allocations: 101.5 kB / 0.5953 GB, free: 8.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 0 / 0.5953 GB, free: 8.852 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009689/0.3887, allocations: 273.3 kB / 0.5956 GB, free: 8.789 MB / 446.1 MB 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.001364/0.39, allocations: 1.17 MB / 0.5967 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.679e-05/0.3902, allocations: 34.86 kB / 0.5968 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3902, allocations: 0 / 0.5968 GB, free: 7.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.3902, allocations: 9.375 kB / 0.5968 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3905, allocations: 461.5 kB / 0.5972 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3919, allocations: 1.572 MB / 0.5988 GB, free: 5.941 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3922, allocations: 0.684 MB / 0.5994 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.359e-05/0.3922, allocations: 2.219 kB / 0.5994 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.3922, allocations: 13.62 kB / 0.5994 GB, free: 5.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3922, allocations: 0.75 kB / 0.5994 GB, free: 5.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.4193, allocations: 6.835 MB / 0.6061 GB, free: 2.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.976, allocations: 22.05 kB / 0.6061 GB, free: 2.156 MB / 446.1 MB (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)