Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.006698/0.006698, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001573/0.001573, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001194, allocations: 63.91 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7565, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002385/0.759, allocations: 1.378 MB / 1.168 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.7617, allocations: 1.794 MB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.7618, allocations: 0 / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.493e-05/0.7619, allocations: 11.94 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.7621, allocations: 27.89 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.7648, allocations: 1.15 MB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.984e-05/0.765, allocations: 43.78 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.765, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.7651, allocations: 23.86 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.7652, allocations: 27.91 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.7652, allocations: 4 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.7665, allocations: 0.889 MB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.7665, allocations: 27.91 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.7666, allocations: 23.81 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.7677, allocations: 0.7936 MB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7677, allocations: 3.938 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7677, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.7677, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005889/0.7683, allocations: 478.8 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.7684, allocations: 12.92 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.7684, allocations: 38.75 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.7684, allocations: 8.844 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.7686, allocations: 185.8 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.7686, allocations: 4.125 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.7686, allocations: 0 / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.7688, allocations: 57.67 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.7688, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.7688, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7688, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.719e-05/0.7688, allocations: 31.92 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.769, allocations: 197.6 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.899e-05/0.7691, allocations: 50.52 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.7692, allocations: 32.88 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.7692, allocations: 4 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.7692, allocations: 30.56 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.885e-06/0.7692, allocations: 4 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000208/0.7694, allocations: 125.4 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7695, allocations: 51.41 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.7696, allocations: 152.1 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.7696, allocations: 29.7 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.7697, allocations: 92.14 kB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.7697, allocations: 31.55 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.7698, allocations: 13.72 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7699, allocations: 330.8 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.7699, allocations: 27.98 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.629e-05/0.77, allocations: 20 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.77, allocations: 60.83 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7701, allocations: 7.938 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001127/0.7702, allocations: 93.72 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7702, allocations: 8 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.7702, allocations: 0 / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.7702, allocations: 0 / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.7702, allocations: 0 / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.7702, allocations: 4.062 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.7703, allocations: 4 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.7703, allocations: 0 / 1.174 GB, free: 11.19 MB / 0.9044 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 8.34e-05/0.7704, allocations: 129.7 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.7704, allocations: 15.8 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.7706, allocations: 102.3 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7706, allocations: 0 / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7706, allocations: 0 / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7706, allocations: 0 / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.7707, allocations: 197.6 kB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7708, allocations: 0 / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-06/0.7708, allocations: 0 / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7708, allocations: 7.938 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.7708, allocations: 0 / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.7708, allocations: 320 / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7708, allocations: 3.984 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.7709, allocations: 120.9 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.771, allocations: 92.95 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.771, allocations: 4 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.771, allocations: 0 / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.771, allocations: 3.938 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.7711, allocations: 11.98 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.503e-05/0.7711, allocations: 120.9 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7712, allocations: 0 / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005887/0.7717, allocations: 203.8 kB / 1.175 GB, free: 10.09 MB / 0.9044 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.001036/0.7728, allocations: 0.8908 MB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.773, allocations: 89.67 kB / 1.176 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.773, allocations: 4 kB / 1.176 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.773, allocations: 69.62 kB / 1.176 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.7733, allocations: 11.92 kB / 1.176 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.7748, allocations: 1.617 MB / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.7751, allocations: 0.708 MB / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.7751, allocations: 0 / 1.179 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.7752, allocations: 23.44 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.7752, allocations: 0 / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.7997, allocations: 5.97 MB / 1.185 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.41, allocations: 12.66 kB / 1.185 GB, free: 0.7773 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)