Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_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.007444/0.007444, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001476/0.001476, allocations: 187.8 kB / 16.67 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 2.253/2.253, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.313/1.313, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 68.05 kB / 0.5809 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2304, allocations: 80.2 MB / 0.6593 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003956/0.2344, allocations: 1.381 MB / 0.6606 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003996/0.2385, allocations: 1.782 MB / 0.6623 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.2386, allocations: 0 / 0.6623 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2388, allocations: 11.92 kB / 0.6624 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.239, allocations: 35.83 kB / 0.6624 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003491/0.2425, allocations: 1.142 MB / 0.6635 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.2427, allocations: 51.7 kB / 0.6636 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.2427, allocations: 4 kB / 0.6636 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2429, allocations: 35.84 kB / 0.6636 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.045e-05/0.2429, allocations: 27.91 kB / 0.6636 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.243, allocations: 0 / 0.6636 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.2446, allocations: 0.8852 MB / 0.6645 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2448, allocations: 67.8 kB / 0.6646 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.2449, allocations: 67.38 kB / 0.6646 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.2464, allocations: 0.8883 MB / 0.6655 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.2464, allocations: 0 / 0.6655 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2464, allocations: 0 / 0.6655 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.2464, allocations: 4 kB / 0.6655 GB, free: 4.363 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008581/0.2473, allocations: 0.5945 MB / 0.6661 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2473, allocations: 12.03 kB / 0.6661 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.2474, allocations: 42.73 kB / 0.6661 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.2475, allocations: 28.73 kB / 0.6661 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.2477, allocations: 223 kB / 0.6664 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2478, allocations: 7.938 kB / 0.6664 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.2478, allocations: 0 / 0.6664 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.248, allocations: 105.7 kB / 0.6665 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.248, allocations: 4 kB / 0.6665 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.248, allocations: 3.938 kB / 0.6665 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.248, allocations: 0 / 0.6665 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.2482, allocations: 75.97 kB / 0.6665 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.2486, allocations: 281.8 kB / 0.6668 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.2488, allocations: 118.5 kB / 0.6669 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.249, allocations: 104.9 kB / 0.667 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.249, allocations: 4 kB / 0.667 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.249, allocations: 38.55 kB / 0.6671 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.353e-06/0.2491, allocations: 0 / 0.6671 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004916/0.2496, allocations: 336.1 kB / 0.6674 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.2496, allocations: 51.41 kB / 0.6674 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.2499, allocations: 261 kB / 0.6677 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2499, allocations: 25.7 kB / 0.6677 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2501, allocations: 124.7 kB / 0.6678 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2502, allocations: 115 kB / 0.6679 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.2502, allocations: 33.7 kB / 0.668 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2504, allocations: 346.8 kB / 0.6683 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.159e-05/0.2505, allocations: 71.97 kB / 0.6684 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.2506, allocations: 75.97 kB / 0.6684 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.2509, allocations: 204.7 kB / 0.6686 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.251, allocations: 3.938 kB / 0.6686 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004197/0.2514, allocations: 221.8 kB / 0.6689 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.2514, allocations: 4 kB / 0.6689 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.2515, allocations: 8.062 kB / 0.6689 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.2515, allocations: 4 kB / 0.6689 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.2515, allocations: 0 / 0.6689 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2515, allocations: 7.922 kB / 0.6689 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.2516, allocations: 11.84 kB / 0.6689 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2516, allocations: 4 kB / 0.6689 GB, free: 0.6289 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 0.0002202/0.2519, allocations: 161.7 kB / 0.6691 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.2519, allocations: 23.81 kB / 0.6691 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.2524, allocations: 263 kB / 0.6693 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2524, allocations: 0 / 0.6693 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2524, allocations: 0 / 0.6693 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2525, allocations: 0 / 0.6693 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.2529, allocations: 281.9 kB / 0.6696 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2529, allocations: 0 / 0.6696 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.2529, allocations: 4 kB / 0.6696 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2529, allocations: 0 / 0.6696 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2529, allocations: 0 / 0.6696 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2529, allocations: 3.984 kB / 0.6696 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.253, allocations: 0 / 0.6696 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.2534, allocations: 264.8 kB / 0.6699 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2536, allocations: 104.9 kB / 0.67 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.2536, allocations: 3.938 kB / 0.67 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.2537, allocations: 0 / 0.67 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.2537, allocations: 0 / 0.67 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.2537, allocations: 4 kB / 0.67 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002981/0.254, allocations: 188.4 kB / 0.6701 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.254, allocations: 0 / 0.6701 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001174/0.2552, allocations: 219.4 kB / 0.6703 GB, free: 15.03 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 (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.002286/0.2575, allocations: 1.031 MB / 0.6714 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.2581, allocations: 269.5 kB / 0.6716 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2581, allocations: 0 / 0.6716 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.2584, allocations: 181.6 kB / 0.6718 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.2588, allocations: 12.69 kB / 0.6718 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004786/0.2636, allocations: 2.583 MB / 0.6743 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.2644, allocations: 0.7671 MB / 0.6751 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.2644, allocations: 4 kB / 0.6751 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2646, allocations: 59.41 kB / 0.6751 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of SimCode: time 1.893e-06/0.2646, allocations: 4 kB / 0.6751 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.3151, allocations: 7.694 MB / 0.6826 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.4, allocations: 13.14 kB / 0.6827 GB, free: 2.477 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)