Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.007941/0.007941, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001675/0.001675, allocations: 194 kB / 16.67 MB, free: 5.965 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002243/0.002243, allocations: 289.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.92/0.92, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 87.86 kB / 0.681 GB, free: 7.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3897, allocations: 86.98 MB / 0.766 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002332/0.392, allocations: 1.366 MB / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.3948, allocations: 1.81 MB / 0.7691 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.3948, allocations: 0 / 0.7691 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.579e-05/0.3949, allocations: 3.984 kB / 0.7691 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3951, allocations: 39.81 kB / 0.7691 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.3978, allocations: 1.139 MB / 0.7702 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.3979, allocations: 47.67 kB / 0.7703 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.3979, allocations: 3.984 kB / 0.7703 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.398, allocations: 23.94 kB / 0.7703 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.558e-05/0.3981, allocations: 31.83 kB / 0.7703 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3981, allocations: 0 / 0.7703 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.3993, allocations: 0.8891 MB / 0.7712 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.3994, allocations: 71.75 kB / 0.7713 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.3994, allocations: 71.36 kB / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.4006, allocations: 0.869 MB / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4006, allocations: 0 / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4006, allocations: 0 / 0.7722 GB, free: 13.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4007, allocations: 4 kB / 0.7722 GB, free: 13.44 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007716/0.4014, allocations: 0.5801 MB / 0.7728 GB, free: 12.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4015, allocations: 8.031 kB / 0.7728 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.4015, allocations: 42.69 kB / 0.7728 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.4016, allocations: 36.64 kB / 0.7728 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.4018, allocations: 222.8 kB / 0.773 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4018, allocations: 384 / 0.773 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.4018, allocations: 8.25 kB / 0.7731 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.402, allocations: 109.6 kB / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.402, allocations: 0 / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.402, allocations: 0 / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.402, allocations: 0 / 0.7732 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.549e-05/0.4021, allocations: 75.97 kB / 0.7732 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.4024, allocations: 281.9 kB / 0.7735 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.4025, allocations: 122.5 kB / 0.7736 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.4026, allocations: 112.8 kB / 0.7737 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.4027, allocations: 3.938 kB / 0.7737 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.4027, allocations: 30.56 kB / 0.7738 GB, free: 11.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.112e-06/0.4027, allocations: 0 / 0.7738 GB, free: 11.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0003711/0.4031, allocations: 335.6 kB / 0.7741 GB, free: 11.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.4031, allocations: 63.44 kB / 0.7741 GB, free: 11.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.4034, allocations: 249 kB / 0.7744 GB, free: 11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4034, allocations: 25.7 kB / 0.7744 GB, free: 10.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.4035, allocations: 132.7 kB / 0.7745 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.4035, allocations: 106.4 kB / 0.7746 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.4036, allocations: 25.7 kB / 0.7747 GB, free: 10.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4037, allocations: 342.8 kB / 0.775 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.4038, allocations: 79.91 kB / 0.7751 GB, free: 10.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.4039, allocations: 79.95 kB / 0.7751 GB, free: 10.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.404, allocations: 192.8 kB / 0.7753 GB, free: 10.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.404, allocations: 4 kB / 0.7753 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002179/0.4043, allocations: 221.5 kB / 0.7755 GB, free: 9.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4043, allocations: 10.66 kB / 0.7755 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4043, allocations: 0 / 0.7755 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4043, allocations: 0 / 0.7755 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.4043, allocations: 0 / 0.7755 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.4043, allocations: 0 / 0.7755 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.4044, allocations: 15.78 kB / 0.7756 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4044, allocations: 12.05 kB / 0.7756 GB, free: 9.746 MB / 0.545 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 0.0001098/0.4045, allocations: 165.7 kB / 0.7757 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.4045, allocations: 27.56 kB / 0.7758 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.4048, allocations: 244.4 kB / 0.776 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4048, allocations: 4 kB / 0.776 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4048, allocations: 3.938 kB / 0.776 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4048, allocations: 0 / 0.776 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.405, allocations: 285.8 kB / 0.7763 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4051, allocations: 0 / 0.7763 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.4051, allocations: 4.031 kB / 0.7763 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4051, allocations: 0 / 0.7763 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4051, allocations: 0 / 0.7763 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4051, allocations: 4 kB / 0.7763 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4051, allocations: 0 / 0.7763 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4053, allocations: 264.5 kB / 0.7765 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.4054, allocations: 96.77 kB / 0.7766 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.4054, allocations: 8 kB / 0.7766 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.4055, allocations: 4.031 kB / 0.7766 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.4055, allocations: 0 / 0.7766 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4055, allocations: 0 / 0.7766 GB, free: 8.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001529/0.4057, allocations: 192.4 kB / 0.7768 GB, free: 8.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4057, allocations: 0 / 0.7768 GB, free: 8.363 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005917/0.4063, allocations: 211.8 kB / 0.777 GB, free: 8.156 MB / 0.545 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 (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 Backend phase and start with SimCode phase: time 0.001261/0.4075, allocations: 1.041 MB / 0.778 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.4078, allocations: 261.6 kB / 0.7783 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4078, allocations: 0 / 0.7783 GB, free: 6.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.408, allocations: 177.6 kB / 0.7785 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4082, allocations: 13.06 kB / 0.7785 GB, free: 6.633 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.4105, allocations: 2.567 MB / 0.781 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4108, allocations: 0.7709 MB / 0.7817 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.4108, allocations: 11.98 kB / 0.7817 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.4109, allocations: 51.42 kB / 0.7818 GB, free: 3.129 MB / 0.545 GB Notification: Performance of SimCode: time 1.553e-06/0.4109, allocations: 0 / 0.7818 GB, free: 3.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.4346, allocations: 7.774 MB / 0.7894 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.018, allocations: 7.938 kB / 0.7894 GB, free: 11.58 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)