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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.008519/0.008518, allocations: 102.8 kB / 15.74 MB, free: 6.496 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.002129/0.002129, allocations: 194 kB / 16.68 MB, free: 6.375 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4777, allocations: 81.02 MB / 0.6649 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003216/0.4809, allocations: 1.421 MB / 0.6663 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004086/0.4851, allocations: 2.832 MB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.4852, allocations: 0 / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.4852, allocations: 3.938 kB / 0.6691 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.862e-05/0.4853, allocations: 18.38 kB / 0.6691 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.4895, allocations: 1.562 MB / 0.6706 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.894e-05/0.4896, allocations: 36.27 kB / 0.6707 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.4897, allocations: 7.266 kB / 0.6707 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.4897, allocations: 19.48 kB / 0.6707 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.4897, allocations: 10.38 kB / 0.6707 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4897, allocations: 5.031 kB / 0.6707 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.4921, allocations: 1.482 MB / 0.6722 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.4921, allocations: 9.078 kB / 0.6722 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.4922, allocations: 15.34 kB / 0.6722 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.4937, allocations: 1.071 MB / 0.6732 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4937, allocations: 0 / 0.6732 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4937, allocations: 0 / 0.6732 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.4937, allocations: 1.844 kB / 0.6732 GB, free: 0.9844 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.0005551/0.4943, allocations: 0.5244 MB / 0.6737 GB, free: 480 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4943, allocations: 10 kB / 0.6738 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.923e-05/0.4944, allocations: 107.2 kB / 0.6739 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.4944, allocations: 78.84 kB / 0.6739 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4945, allocations: 259.7 kB / 0.6742 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.4946, allocations: 154.5 kB / 0.6743 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.4947, allocations: 151.9 kB / 0.6745 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.713e-05/0.4948, allocations: 101 kB / 0.6746 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.4948, allocations: 75.28 kB / 0.6746 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.4949, allocations: 159.8 kB / 0.6748 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.999e-05/0.495, allocations: 154.6 kB / 0.6749 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.495, allocations: 151.8 kB / 0.6751 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4954, allocations: 468.6 kB / 0.6755 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.506e-05/0.4955, allocations: 166.1 kB / 0.6757 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.4956, allocations: 85.23 kB / 0.6758 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.4956, allocations: 79.22 kB / 0.6758 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.4957, allocations: 110.8 kB / 0.676 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.073e-06/0.4957, allocations: 0 / 0.676 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.447e-05/0.4958, allocations: 28.27 kB / 0.676 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.4958, allocations: 131.9 kB / 0.6761 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.496, allocations: 132.3 kB / 0.6762 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.496, allocations: 26.67 kB / 0.6763 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.4961, allocations: 98.14 kB / 0.6764 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.4961, allocations: 0 / 0.6764 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4962, allocations: 19.12 kB / 0.6764 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4963, allocations: 323.9 kB / 0.6767 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.4964, allocations: 7.844 kB / 0.6767 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.4964, allocations: 6.625 kB / 0.6767 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.4964, allocations: 22.05 kB / 0.6767 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4964, allocations: 0 / 0.6767 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.4966, allocations: 46.97 kB / 0.6768 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4966, allocations: 5.312 kB / 0.6768 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.4966, allocations: 2.594 kB / 0.6768 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4966, allocations: 1.375 kB / 0.6768 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.4967, allocations: 0 / 0.6768 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4967, allocations: 3.984 kB / 0.6768 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.4967, allocations: 8.922 kB / 0.6768 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4967, allocations: 1.375 kB / 0.6768 GB, free: 13.26 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.0001257/0.4968, allocations: 190.6 kB / 0.677 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.4969, allocations: 116.1 kB / 0.6771 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.497, allocations: 106.4 kB / 0.6772 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/0.4971, allocations: 185.6 kB / 0.6774 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.696e-05/0.4972, allocations: 182 kB / 0.6775 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-05/0.4973, allocations: 184.2 kB / 0.6777 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.4975, allocations: 416.7 kB / 0.6781 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.933e-05/0.4976, allocations: 101 kB / 0.6782 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.4977, allocations: 110 kB / 0.6783 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-05/0.4977, allocations: 177.3 kB / 0.6785 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/0.4978, allocations: 181.2 kB / 0.6786 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.883e-05/0.4979, allocations: 185.4 kB / 0.6788 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.031e-05/0.498, allocations: 177.5 kB / 0.679 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.4982, allocations: 312.9 kB / 0.6793 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.4983, allocations: 195 kB / 0.6795 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.4984, allocations: 182.6 kB / 0.6796 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.4985, allocations: 101 kB / 0.6797 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.335e-05/0.4986, allocations: 181.2 kB / 0.6799 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.4987, allocations: 106.1 kB / 0.68 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.4988, allocations: 100.4 kB / 0.6801 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4988, allocations: 0 / 0.6801 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001114/0.4999, allocations: 280.4 kB / 0.6804 GB, free: 9.582 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.001586/0.5015, allocations: 1.164 MB / 0.6815 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.5016, allocations: 41.36 kB / 0.6816 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5016, allocations: 9.25 kB / 0.6816 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.5016, allocations: 0 / 0.6816 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.5021, allocations: 466.2 kB / 0.682 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.5037, allocations: 1.587 MB / 0.6836 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.504, allocations: 0.6852 MB / 0.6842 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.586e-05/0.504, allocations: 0 / 0.6842 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.504, allocations: 13.44 kB / 0.6842 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.5041, allocations: 0 / 0.6842 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.5383, allocations: 6.833 MB / 0.6909 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.839, allocations: 5.922 kB / 0.6909 GB, free: 2.426 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)