Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_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_dev_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.009133/0.009133, allocations: 99.73 kB / 15.73 MB, free: 5.98 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.001777/0.001777, allocations: 194.8 kB / 16.68 MB, free: 5.91 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.082/1.082, allocations: 135.6 MB / 426.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 0.5858 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4558, allocations: 81.02 MB / 0.665 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002127/0.458, allocations: 1.419 MB / 0.6663 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003512/0.4615, allocations: 2.843 MB / 0.6691 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.4616, allocations: 0 / 0.6691 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.4616, allocations: 5.344 kB / 0.6691 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.4617, allocations: 17 kB / 0.6691 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.465, allocations: 1.554 MB / 0.6707 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.4651, allocations: 41.7 kB / 0.6707 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.4652, allocations: 6.297 kB / 0.6707 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.4652, allocations: 10.53 kB / 0.6707 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.776e-05/0.4652, allocations: 22.83 kB / 0.6707 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.4652, allocations: 6.25 kB / 0.6707 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.4672, allocations: 1.478 MB / 0.6722 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.4672, allocations: 1.5 kB / 0.6722 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.4673, allocations: 19.75 kB / 0.6722 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.4686, allocations: 1.067 MB / 0.6732 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4686, allocations: 4 kB / 0.6732 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4686, allocations: 0 / 0.6732 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4686, allocations: 0 / 0.6732 GB, free: 1.164 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.000777/0.4694, allocations: 0.5303 MB / 0.6738 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.4695, allocations: 9.281 kB / 0.6738 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.4695, allocations: 106 kB / 0.6739 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.4696, allocations: 78.59 kB / 0.674 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4697, allocations: 252.5 kB / 0.6742 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.4697, allocations: 158.5 kB / 0.6743 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.4699, allocations: 151.7 kB / 0.6745 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.639e-05/0.4699, allocations: 102.2 kB / 0.6746 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/0.47, allocations: 79.22 kB / 0.6747 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.4701, allocations: 150.6 kB / 0.6748 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.969e-05/0.4701, allocations: 155.8 kB / 0.675 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.4702, allocations: 158.5 kB / 0.6751 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.4707, allocations: 465.1 kB / 0.6755 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4708, allocations: 178.3 kB / 0.6757 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.4709, allocations: 84.08 kB / 0.6758 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.4709, allocations: 80.72 kB / 0.6759 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.431e-05/0.471, allocations: 109.8 kB / 0.676 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.471, allocations: 1.5 kB / 0.676 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.000102/0.4711, allocations: 27.05 kB / 0.676 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.4712, allocations: 127.8 kB / 0.6761 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.4714, allocations: 132.4 kB / 0.6763 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4714, allocations: 31.3 kB / 0.6763 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.4715, allocations: 93.42 kB / 0.6764 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.4715, allocations: 0 / 0.6764 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.4716, allocations: 18.38 kB / 0.6764 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4717, allocations: 320.9 kB / 0.6767 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.145e-05/0.4718, allocations: 7.406 kB / 0.6767 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.162e-05/0.4718, allocations: 6.672 kB / 0.6767 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.4718, allocations: 13.61 kB / 0.6767 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4719, allocations: 9.5 kB / 0.6767 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001795/0.472, allocations: 37.77 kB / 0.6768 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4721, allocations: 5.75 kB / 0.6768 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.4721, allocations: 6.297 kB / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4721, allocations: 1.094 kB / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.4721, allocations: 0 / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4721, allocations: 0 / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.4722, allocations: 9.172 kB / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.4722, allocations: 1.156 kB / 0.6768 GB, free: 13.45 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.00016/0.4724, allocations: 198.7 kB / 0.677 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.4725, allocations: 107.8 kB / 0.6771 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4726, allocations: 111.5 kB / 0.6772 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.4727, allocations: 181.6 kB / 0.6774 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001068/0.4728, allocations: 180.3 kB / 0.6775 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/0.4729, allocations: 185.5 kB / 0.6777 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.4733, allocations: 415.7 kB / 0.6781 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.424e-05/0.4734, allocations: 106.1 kB / 0.6782 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.4734, allocations: 106 kB / 0.6783 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.804e-05/0.4735, allocations: 177.2 kB / 0.6785 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4737, allocations: 185.3 kB / 0.6787 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.124e-05/0.4737, allocations: 185.1 kB / 0.6788 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.431e-05/0.4738, allocations: 181.3 kB / 0.679 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4741, allocations: 312.5 kB / 0.6793 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.4742, allocations: 188.1 kB / 0.6795 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4743, allocations: 181.4 kB / 0.6797 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.4744, allocations: 106 kB / 0.6798 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.4746, allocations: 181.4 kB / 0.6799 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-05/0.4746, allocations: 102.3 kB / 0.68 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.227e-05/0.4747, allocations: 100.8 kB / 0.6801 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4747, allocations: 0.9062 kB / 0.6801 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001556/0.4763, allocations: 280.2 kB / 0.6804 GB, free: 9.766 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.002026/0.4783, allocations: 1.165 MB / 0.6815 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4785, allocations: 41.59 kB / 0.6816 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4785, allocations: 0 / 0.6816 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.4785, allocations: 4.062 kB / 0.6816 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.4791, allocations: 464.5 kB / 0.682 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.4809, allocations: 1.593 MB / 0.6836 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.4813, allocations: 0.6842 MB / 0.6842 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.4813, allocations: 4.031 kB / 0.6842 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.4814, allocations: 13.59 kB / 0.6843 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.4814, allocations: 3.938 kB / 0.6843 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.5145, allocations: 6.832 MB / 0.6909 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.821, allocations: 11.52 kB / 0.6909 GB, free: 2.598 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)