Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.0121/0.0121, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.003081/0.003081, allocations: 191.9 kB / 16.68 MB, free: 5.969 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.579/2.579, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.516/1.516, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00296/0.00296, allocations: 63.62 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2188, allocations: 80.21 MB / 0.6593 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003362/0.2223, allocations: 1.429 MB / 0.6607 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005245/0.2275, allocations: 2.876 MB / 0.6635 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.2276, allocations: 0 / 0.6635 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2277, allocations: 7.922 kB / 0.6635 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.2278, allocations: 7.875 kB / 0.6635 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.2326, allocations: 1.595 MB / 0.665 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.2327, allocations: 43.67 kB / 0.6651 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.2327, allocations: 3.984 kB / 0.6651 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.2328, allocations: 19.94 kB / 0.6651 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.332e-05/0.2328, allocations: 19.86 kB / 0.6651 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2328, allocations: 0 / 0.6651 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.2359, allocations: 1.529 MB / 0.6666 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.2359, allocations: 0 / 0.6666 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.236, allocations: 23.86 kB / 0.6666 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002004/0.238, allocations: 1.095 MB / 0.6677 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.238, allocations: 3.938 kB / 0.6677 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.238, allocations: 0 / 0.6677 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.2381, allocations: 4 kB / 0.6677 GB, free: 2.031 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00106/0.2391, allocations: 0.5247 MB / 0.6682 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.2392, allocations: 16.02 kB / 0.6683 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005142/0.2397, allocations: 106 kB / 0.6684 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.2399, allocations: 88.11 kB / 0.6684 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.2401, allocations: 247.6 kB / 0.6687 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.857e-05/0.2402, allocations: 162.4 kB / 0.6688 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2404, allocations: 154.6 kB / 0.669 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.2405, allocations: 101 kB / 0.6691 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.2405, allocations: 75.28 kB / 0.6691 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.2406, allocations: 154.6 kB / 0.6693 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.469e-05/0.2407, allocations: 154.6 kB / 0.6694 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.2408, allocations: 158.5 kB / 0.6696 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.2414, allocations: 469.8 kB / 0.67 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.2415, allocations: 165.1 kB / 0.6702 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.2416, allocations: 80.14 kB / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.89e-05/0.2417, allocations: 79.28 kB / 0.6703 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.491e-05/0.2418, allocations: 105.8 kB / 0.6704 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/0.2418, allocations: 0 / 0.6704 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001269/0.2419, allocations: 37.59 kB / 0.6705 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.242, allocations: 130.7 kB / 0.6706 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.2423, allocations: 131.9 kB / 0.6707 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2423, allocations: 25.7 kB / 0.6708 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.2424, allocations: 96.12 kB / 0.6709 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.2424, allocations: 0 / 0.6709 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.2425, allocations: 17.72 kB / 0.6709 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.2427, allocations: 322.8 kB / 0.6712 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.2428, allocations: 4 kB / 0.6712 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.2428, allocations: 8 kB / 0.6712 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.388e-05/0.2429, allocations: 16.91 kB / 0.6712 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2429, allocations: 3.938 kB / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001977/0.2431, allocations: 53.7 kB / 0.6713 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2431, allocations: 8 kB / 0.6713 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.2432, allocations: 4 kB / 0.6713 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2432, allocations: 0 / 0.6713 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-06/0.2432, allocations: 4.062 kB / 0.6713 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2432, allocations: 4 kB / 0.6713 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.2433, allocations: 3.938 kB / 0.6713 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.2433, allocations: 0 / 0.6713 GB, free: 14.14 MB / 0.5137 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.0001781/0.2435, allocations: 189.1 kB / 0.6715 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.2436, allocations: 112.9 kB / 0.6716 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.2437, allocations: 120.6 kB / 0.6717 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001144/0.2439, allocations: 180.2 kB / 0.6719 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001143/0.244, allocations: 180.2 kB / 0.672 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/0.2441, allocations: 180.3 kB / 0.6722 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.2446, allocations: 425.1 kB / 0.6726 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.927e-05/0.2447, allocations: 101 kB / 0.6727 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.2447, allocations: 105 kB / 0.6728 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.2449, allocations: 184.1 kB / 0.673 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.245, allocations: 176.3 kB / 0.6731 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000112/0.2451, allocations: 184.2 kB / 0.6733 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001343/0.2453, allocations: 184.3 kB / 0.6735 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.2456, allocations: 311.7 kB / 0.6738 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2457, allocations: 182 kB / 0.674 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.2459, allocations: 192.2 kB / 0.6741 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.246, allocations: 105 kB / 0.6743 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2462, allocations: 184.2 kB / 0.6744 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.2463, allocations: 108.9 kB / 0.6745 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001222/0.2464, allocations: 101.1 kB / 0.6746 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2464, allocations: 0 / 0.6746 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001379/0.2478, allocations: 279 kB / 0.6749 GB, free: 10.21 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 (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.002456/0.2503, allocations: 1.185 MB / 0.676 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.2505, allocations: 41.64 kB / 0.6761 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/0.2505, allocations: 4.062 kB / 0.6761 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-06/0.2505, allocations: 8 kB / 0.6761 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.2513, allocations: 459.7 kB / 0.6765 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.2539, allocations: 1.601 MB / 0.6781 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.2544, allocations: 0.6885 MB / 0.6788 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.2544, allocations: 0 / 0.6788 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.2545, allocations: 15.44 kB / 0.6788 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.2545, allocations: 0 / 0.6788 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/0.3045, allocations: 7.027 MB / 0.6857 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.9, allocations: 29.34 kB / 0.6857 GB, free: 15.23 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)