Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_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.00686/0.00686, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001724/0.001724, allocations: 196.3 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 1.413/1.413, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 289.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9678/0.9678, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 95.84 kB / 0.681 GB, free: 7.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3797, allocations: 86.99 MB / 0.766 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002377/0.3821, allocations: 1.428 MB / 0.7674 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.3864, allocations: 2.905 MB / 0.7702 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.3865, allocations: 0 / 0.7702 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.3865, allocations: 3.938 kB / 0.7702 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.3866, allocations: 11.86 kB / 0.7702 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.3904, allocations: 1.585 MB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.3905, allocations: 47.67 kB / 0.7718 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.3905, allocations: 4 kB / 0.7718 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.3906, allocations: 15.92 kB / 0.7719 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.3906, allocations: 15.94 kB / 0.7719 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.3906, allocations: 0 / 0.7719 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.3928, allocations: 1.529 MB / 0.7734 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3929, allocations: 11.92 kB / 0.7734 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.3929, allocations: 19.88 kB / 0.7734 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.3943, allocations: 1.104 MB / 0.7745 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3943, allocations: 0 / 0.7745 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3943, allocations: 0 / 0.7745 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3943, allocations: 0 / 0.7745 GB, free: 11.19 MB / 0.545 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.000604/0.395, allocations: 0.5363 MB / 0.775 GB, free: 10.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.395, allocations: 12.03 kB / 0.775 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/0.3951, allocations: 106 kB / 0.7751 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.3951, allocations: 84.17 kB / 0.7752 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3953, allocations: 247.6 kB / 0.7754 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.3954, allocations: 150.9 kB / 0.7756 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.3954, allocations: 158.9 kB / 0.7757 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.697e-05/0.3955, allocations: 104.9 kB / 0.7758 GB, free: 9.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.3956, allocations: 75.28 kB / 0.7759 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.3956, allocations: 154.6 kB / 0.776 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.3957, allocations: 154.6 kB / 0.7762 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.3957, allocations: 154.5 kB / 0.7763 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.3961, allocations: 465.9 kB / 0.7768 GB, free: 8.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.3962, allocations: 177.1 kB / 0.7769 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.3962, allocations: 80.14 kB / 0.777 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.3962, allocations: 79.22 kB / 0.7771 GB, free: 8.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.3963, allocations: 105.8 kB / 0.7772 GB, free: 8.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3963, allocations: 0 / 0.7772 GB, free: 8.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.052e-05/0.3964, allocations: 41.58 kB / 0.7772 GB, free: 8.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.3965, allocations: 130.7 kB / 0.7774 GB, free: 8.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3966, allocations: 140.6 kB / 0.7775 GB, free: 7.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3966, allocations: 25.7 kB / 0.7775 GB, free: 7.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3967, allocations: 104.1 kB / 0.7776 GB, free: 7.738 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.3967, allocations: 0 / 0.7776 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3967, allocations: 17.7 kB / 0.7776 GB, free: 7.715 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3969, allocations: 318.8 kB / 0.7779 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.3969, allocations: 4 kB / 0.7779 GB, free: 7.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.3969, allocations: 12 kB / 0.778 GB, free: 7.379 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.397, allocations: 12.84 kB / 0.778 GB, free: 7.363 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.397, allocations: 0 / 0.778 GB, free: 7.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001277/0.3971, allocations: 57.58 kB / 0.778 GB, free: 7.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3971, allocations: 4 kB / 0.778 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3971, allocations: 4 kB / 0.778 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3972, allocations: 0 / 0.778 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.91e-07/0.3972, allocations: 0 / 0.778 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3972, allocations: 3.984 kB / 0.778 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.3972, allocations: 8.016 kB / 0.778 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3972, allocations: 8.062 kB / 0.7781 GB, free: 7.273 MB / 0.545 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 9.546e-05/0.3973, allocations: 181.1 kB / 0.7782 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.3974, allocations: 112.9 kB / 0.7783 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.3975, allocations: 108.8 kB / 0.7784 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.479e-05/0.3975, allocations: 192.2 kB / 0.7786 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-05/0.3976, allocations: 180.3 kB / 0.7788 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.031e-05/0.3977, allocations: 180.2 kB / 0.779 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.3979, allocations: 413.2 kB / 0.7794 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.398, allocations: 108.9 kB / 0.7795 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.398, allocations: 105 kB / 0.7796 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-05/0.3981, allocations: 188.1 kB / 0.7797 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-05/0.3982, allocations: 180.3 kB / 0.7799 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-05/0.3983, allocations: 176.3 kB / 0.7801 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.29e-05/0.3984, allocations: 180.2 kB / 0.7803 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3985, allocations: 319.7 kB / 0.7806 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.3986, allocations: 186 kB / 0.7807 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.973e-05/0.3987, allocations: 176.3 kB / 0.7809 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.3988, allocations: 112.9 kB / 0.781 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.3989, allocations: 180.3 kB / 0.7812 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.3989, allocations: 108.9 kB / 0.7813 GB, free: 3.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.399, allocations: 95.27 kB / 0.7814 GB, free: 3.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.399, allocations: 4 kB / 0.7814 GB, free: 3.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006839/0.3997, allocations: 291 kB / 0.7817 GB, free: 3.352 MB / 0.545 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.001356/0.401, allocations: 1.178 MB / 0.7828 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.4011, allocations: 45.64 kB / 0.7829 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4011, allocations: 0 / 0.7829 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.4012, allocations: 0 / 0.7829 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.4016, allocations: 460.2 kB / 0.7833 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.403, allocations: 1.607 MB / 0.7849 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4033, allocations: 0.6845 MB / 0.7855 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.11e-05/0.4033, allocations: 0 / 0.7855 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.4033, allocations: 19.42 kB / 0.7855 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4033, allocations: 0 / 0.7855 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.432, allocations: 7.08 MB / 0.7925 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.843/8.275, allocations: 10 kB / 0.7925 GB, free: 8.367 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)