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.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-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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_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_dev_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.00766/0.00766, allocations: 101.8 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.001776/0.001776, allocations: 194.2 kB / 16.68 MB, free: 5.934 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9975/0.9975, allocations: 135.5 MB / 426.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 0.5858 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4559, allocations: 81.02 MB / 0.665 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002147/0.4581, allocations: 1.428 MB / 0.6663 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003526/0.4616, allocations: 2.875 MB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.4617, allocations: 4 kB / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.4617, allocations: 0 / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.4618, allocations: 22.09 kB / 0.6692 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.4652, allocations: 1.577 MB / 0.6707 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.4653, allocations: 42.67 kB / 0.6708 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.4654, allocations: 9.656 kB / 0.6708 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.4654, allocations: 11.84 kB / 0.6708 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.4654, allocations: 24.48 kB / 0.6708 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4655, allocations: 5.156 kB / 0.6708 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.4676, allocations: 1.527 MB / 0.6723 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.4676, allocations: 1.219 kB / 0.6723 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.4677, allocations: 23.7 kB / 0.6723 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.4691, allocations: 1.098 MB / 0.6734 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4692, allocations: 1.031 kB / 0.6734 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4692, allocations: 0 / 0.6734 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4692, allocations: 0 / 0.6734 GB, free: 0.8477 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.0005481/0.4697, allocations: 0.5311 MB / 0.6739 GB, free: 336 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4698, allocations: 9.844 kB / 0.6739 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.4698, allocations: 106 kB / 0.674 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.4699, allocations: 82.52 kB / 0.6741 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4701, allocations: 264.5 kB / 0.6744 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.4702, allocations: 154.5 kB / 0.6745 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.4702, allocations: 159.6 kB / 0.6747 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.561e-05/0.4703, allocations: 102.4 kB / 0.6748 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.4704, allocations: 75.28 kB / 0.6748 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.4704, allocations: 150.6 kB / 0.675 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.478e-05/0.4705, allocations: 151.8 kB / 0.6751 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.4706, allocations: 150.6 kB / 0.6753 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.4709, allocations: 473.6 kB / 0.6757 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.471, allocations: 170.9 kB / 0.6759 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.4711, allocations: 80.14 kB / 0.6759 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.4711, allocations: 75.28 kB / 0.676 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.4712, allocations: 115.3 kB / 0.6761 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4712, allocations: 0 / 0.6761 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.21e-05/0.4713, allocations: 36.19 kB / 0.6762 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.4714, allocations: 131.7 kB / 0.6763 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.4715, allocations: 133.5 kB / 0.6764 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.4715, allocations: 27.36 kB / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.4716, allocations: 90.06 kB / 0.6765 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.4716, allocations: 16 / 0.6765 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.4717, allocations: 22.59 kB / 0.6766 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.4718, allocations: 320.4 kB / 0.6769 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.4719, allocations: 7.891 kB / 0.6769 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.4719, allocations: 2.797 kB / 0.6769 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.4719, allocations: 14.61 kB / 0.6769 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4719, allocations: 1.219 kB / 0.6769 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.4721, allocations: 51.62 kB / 0.6769 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4721, allocations: 4.844 kB / 0.6769 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.4721, allocations: 11.27 kB / 0.6769 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4722, allocations: 5.406 kB / 0.677 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4722, allocations: 0 / 0.677 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4722, allocations: 0 / 0.677 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.4722, allocations: 5.188 kB / 0.677 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4722, allocations: 1.125 kB / 0.677 GB, free: 13.12 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.0001167/0.4723, allocations: 191.6 kB / 0.6771 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.4724, allocations: 111.8 kB / 0.6772 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.4725, allocations: 122.1 kB / 0.6774 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-05/0.4726, allocations: 181.4 kB / 0.6775 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.967e-05/0.4727, allocations: 181.9 kB / 0.6777 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.877e-05/0.4727, allocations: 180.3 kB / 0.6779 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.473, allocations: 412.2 kB / 0.6783 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/0.4731, allocations: 118 kB / 0.6784 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.4731, allocations: 102.2 kB / 0.6785 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.688e-05/0.4732, allocations: 185.4 kB / 0.6787 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.4733, allocations: 176.3 kB / 0.6788 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.331e-05/0.4734, allocations: 177.3 kB / 0.679 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.607e-05/0.4735, allocations: 181.4 kB / 0.6792 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.4737, allocations: 321.8 kB / 0.6795 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.4738, allocations: 183.7 kB / 0.6797 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/0.4739, allocations: 185.7 kB / 0.6798 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-05/0.474, allocations: 101 kB / 0.6799 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/0.4741, allocations: 181.9 kB / 0.6801 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.4741, allocations: 110.4 kB / 0.6802 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.4742, allocations: 99.27 kB / 0.6803 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4742, allocations: 1.219 kB / 0.6803 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001037/0.4752, allocations: 285.3 kB / 0.6806 GB, free: 9.426 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.001659/0.4769, allocations: 1.181 MB / 0.6817 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.4771, allocations: 43.33 kB / 0.6818 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4771, allocations: 0 / 0.6818 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.4771, allocations: 0 / 0.6818 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.4776, allocations: 468.6 kB / 0.6822 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4793, allocations: 1.612 MB / 0.6838 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.4797, allocations: 0.6805 MB / 0.6845 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.935e-05/0.4797, allocations: 5.188 kB / 0.6845 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.4797, allocations: 16.58 kB / 0.6845 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.4797, allocations: 1.062 kB / 0.6845 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.5124, allocations: 7.033 MB / 0.6913 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.696, allocations: 18.45 kB / 0.6914 GB, free: 2.141 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)