Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001574/0.001573, 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.001545/0.001545, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7689/0.7689, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.00147, allocations: 64.41 kB / 0.5019 GB, free: 3.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3958, allocations: 80.2 MB / 0.5802 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002334/0.3982, allocations: 1.432 MB / 0.5816 GB, free: 3.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.4017, allocations: 2.833 MB / 0.5844 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.4018, allocations: 0 / 0.5844 GB, free: 1.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.4018, allocations: 5.906 kB / 0.5844 GB, free: 1.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.293e-05/0.4019, allocations: 15.69 kB / 0.5844 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.4051, allocations: 1.552 MB / 0.586 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.4052, allocations: 44.44 kB / 0.586 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.4053, allocations: 3.531 kB / 0.586 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.4053, allocations: 12.06 kB / 0.586 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.891e-05/0.4053, allocations: 17.48 kB / 0.586 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4054, allocations: 1.406 kB / 0.586 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.4075, allocations: 1.419 MB / 0.5874 GB, free: 404 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.4075, allocations: 6.141 kB / 0.5874 GB, free: 400 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.4076, allocations: 11.62 kB / 0.5874 GB, free: 396 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.4091, allocations: 1.074 MB / 0.5885 GB, free: 100 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4091, allocations: 0.5156 kB / 0.5885 GB, free: 100 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4091, allocations: 0 / 0.5885 GB, free: 100 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.4091, allocations: 0 / 0.5885 GB, free: 100 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.0006037/0.4097, allocations: 0.5133 MB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4097, allocations: 9.281 kB / 0.589 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.4098, allocations: 107.2 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.4099, allocations: 83.06 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.41, allocations: 253.8 kB / 0.5894 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.4101, allocations: 158.7 kB / 0.5896 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.4101, allocations: 156.1 kB / 0.5897 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.705e-05/0.4102, allocations: 105.7 kB / 0.5898 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.4102, allocations: 76 kB / 0.5899 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.4103, allocations: 150.6 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.4103, allocations: 151.7 kB / 0.5902 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.4104, allocations: 150.6 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.4107, allocations: 466 kB / 0.5908 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.19e-05/0.4108, allocations: 174.7 kB / 0.5909 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.4108, allocations: 80.14 kB / 0.591 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.4109, allocations: 80.53 kB / 0.5911 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/0.4109, allocations: 110.5 kB / 0.5912 GB, free: 13.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4109, allocations: 0 / 0.5912 GB, free: 13.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.76e-05/0.411, allocations: 32.92 kB / 0.5912 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.4111, allocations: 132.2 kB / 0.5913 GB, free: 13.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4112, allocations: 128.9 kB / 0.5915 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.4112, allocations: 26.36 kB / 0.5915 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.4113, allocations: 93.05 kB / 0.5916 GB, free: 12.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.4113, allocations: 3.938 kB / 0.5916 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.4113, allocations: 19.27 kB / 0.5916 GB, free: 12.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4114, allocations: 319 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.381e-05/0.4115, allocations: 2.688 kB / 0.5919 GB, free: 12.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.4115, allocations: 8.609 kB / 0.5919 GB, free: 12.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.4115, allocations: 13.88 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4116, allocations: 1 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.4117, allocations: 52.81 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4117, allocations: 5.812 kB / 0.592 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.4117, allocations: 7.062 kB / 0.592 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4117, allocations: 0 / 0.592 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-06/0.4118, allocations: 2.016 kB / 0.592 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4118, allocations: 3.938 kB / 0.592 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.4118, allocations: 1.375 kB / 0.592 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.4118, allocations: 0.5938 kB / 0.592 GB, free: 12.45 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.587e-05/0.4119, allocations: 188.2 kB / 0.5922 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.412, allocations: 108.6 kB / 0.5923 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.412, allocations: 124.1 kB / 0.5924 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-05/0.4121, allocations: 178.2 kB / 0.5926 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.748e-05/0.4122, allocations: 185.8 kB / 0.5928 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-05/0.4122, allocations: 186.1 kB / 0.5929 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.4125, allocations: 416.6 kB / 0.5933 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/0.4125, allocations: 110.7 kB / 0.5934 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.4125, allocations: 102.7 kB / 0.5935 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.675e-05/0.4126, allocations: 177.7 kB / 0.5937 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.4127, allocations: 181.9 kB / 0.5939 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/0.4127, allocations: 178.3 kB / 0.594 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.551e-05/0.4128, allocations: 186.2 kB / 0.5942 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.4129, allocations: 310.9 kB / 0.5945 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.413, allocations: 185.9 kB / 0.5947 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.4131, allocations: 182 kB / 0.5949 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.4132, allocations: 107.5 kB / 0.595 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.4133, allocations: 181.1 kB / 0.5951 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.4133, allocations: 106.2 kB / 0.5952 GB, free: 8.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.468e-05/0.4134, allocations: 98.92 kB / 0.5953 GB, free: 8.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4134, allocations: 0 / 0.5953 GB, free: 8.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008471/0.4142, allocations: 277.4 kB / 0.5956 GB, free: 8.812 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.001273/0.4155, allocations: 1.163 MB / 0.5967 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.726e-05/0.4156, allocations: 38.17 kB / 0.5968 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4156, allocations: 0 / 0.5968 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.4156, allocations: 5.25 kB / 0.5968 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.416, allocations: 465.9 kB / 0.5972 GB, free: 7.395 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.4174, allocations: 1.573 MB / 0.5988 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4177, allocations: 0.6814 MB / 0.5994 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.4177, allocations: 5.156 kB / 0.5994 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.4177, allocations: 14.39 kB / 0.5994 GB, free: 5.254 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4178, allocations: 0 / 0.5994 GB, free: 5.254 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.4442, allocations: 6.832 MB / 0.6061 GB, free: 2.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.869, allocations: 30.73 kB / 0.6061 GB, free: 2.188 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)