Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_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.007285/0.007293, allocations: 99.33 kB / 15.73 MB, free: 6.02 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.001789/0.001789, allocations: 190.8 kB / 16.67 MB, free: 5.938 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 277.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 96.27 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.401, allocations: 86.97 MB / 0.766 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002794/0.4039, allocations: 1.416 MB / 0.7674 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.4082, allocations: 2.862 MB / 0.7702 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.4083, allocations: 0 / 0.7702 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.4083, allocations: 3.938 kB / 0.7702 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.4084, allocations: 15.86 kB / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.4119, allocations: 1.549 MB / 0.7717 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.67e-05/0.412, allocations: 43.69 kB / 0.7717 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.412, allocations: 7.984 kB / 0.7717 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.4121, allocations: 11.94 kB / 0.7718 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.301e-05/0.4121, allocations: 15.94 kB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.4121, allocations: 0 / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.414, allocations: 1.49 MB / 0.7732 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.414, allocations: 3.938 kB / 0.7732 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4141, allocations: 23.86 kB / 0.7732 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4153, allocations: 1.069 MB / 0.7743 GB, free: 11.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4153, allocations: 0 / 0.7743 GB, free: 11.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4153, allocations: 4 kB / 0.7743 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4153, allocations: 0 / 0.7743 GB, free: 11.34 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.0005276/0.4159, allocations: 0.5363 MB / 0.7748 GB, free: 10.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4159, allocations: 8.031 kB / 0.7748 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.416, allocations: 106 kB / 0.7749 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.416, allocations: 84.17 kB / 0.775 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.4162, allocations: 263.3 kB / 0.7753 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.4162, allocations: 158.9 kB / 0.7754 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.4163, allocations: 150.9 kB / 0.7756 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.181e-05/0.4163, allocations: 104.9 kB / 0.7757 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.4164, allocations: 75.28 kB / 0.7757 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.4164, allocations: 154.6 kB / 0.7759 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.4165, allocations: 150.6 kB / 0.776 GB, free: 9.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.4165, allocations: 158.6 kB / 0.7762 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.4167, allocations: 465.9 kB / 0.7766 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.4168, allocations: 165.1 kB / 0.7768 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.4169, allocations: 80.14 kB / 0.7768 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.4169, allocations: 83.22 kB / 0.7769 GB, free: 8.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4169, allocations: 105.8 kB / 0.777 GB, free: 8.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4169, allocations: 0 / 0.777 GB, free: 8.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.95e-05/0.417, allocations: 41.58 kB / 0.7771 GB, free: 8.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4171, allocations: 130.7 kB / 0.7772 GB, free: 8.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.4172, allocations: 129.3 kB / 0.7773 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.4172, allocations: 25.7 kB / 0.7773 GB, free: 8.008 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.4173, allocations: 96.14 kB / 0.7774 GB, free: 7.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.4173, allocations: 0 / 0.7774 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.4173, allocations: 17.7 kB / 0.7774 GB, free: 7.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.4174, allocations: 318.8 kB / 0.7778 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.4174, allocations: 0 / 0.7778 GB, free: 7.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.4174, allocations: 4.031 kB / 0.7778 GB, free: 7.562 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.4175, allocations: 16.84 kB / 0.7778 GB, free: 7.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4175, allocations: 0 / 0.7778 GB, free: 7.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.4176, allocations: 65.5 kB / 0.7778 GB, free: 7.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4176, allocations: 4 kB / 0.7778 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4176, allocations: 4 kB / 0.7778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4177, allocations: 0 / 0.7778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.4177, allocations: 0 / 0.7778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.4177, allocations: 0 / 0.7778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.4177, allocations: 0 / 0.7778 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.4177, allocations: 7.984 kB / 0.7779 GB, free: 7.457 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 7.768e-05/0.4178, allocations: 184.8 kB / 0.778 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.4179, allocations: 120.9 kB / 0.7781 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.4179, allocations: 108.8 kB / 0.7782 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.915e-05/0.418, allocations: 188.3 kB / 0.7784 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/0.418, allocations: 184.2 kB / 0.7786 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.812e-05/0.4181, allocations: 176.3 kB / 0.7788 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.4183, allocations: 417.2 kB / 0.7792 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.4183, allocations: 108.9 kB / 0.7793 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.4184, allocations: 108.9 kB / 0.7794 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/0.4184, allocations: 184.2 kB / 0.7796 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.4185, allocations: 180.3 kB / 0.7797 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.974e-05/0.4185, allocations: 176.3 kB / 0.7799 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.976e-05/0.4186, allocations: 184.2 kB / 0.7801 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4187, allocations: 315.6 kB / 0.7804 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.4188, allocations: 182.1 kB / 0.7805 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.4188, allocations: 184.2 kB / 0.7807 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.4189, allocations: 101 kB / 0.7808 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.419, allocations: 188.2 kB / 0.781 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.419, allocations: 108.9 kB / 0.7811 GB, free: 3.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.4191, allocations: 99.27 kB / 0.7812 GB, free: 3.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4191, allocations: 0 / 0.7812 GB, free: 3.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006724/0.4198, allocations: 287 kB / 0.7815 GB, free: 3.531 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.001173/0.4209, allocations: 1.169 MB / 0.7826 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.421, allocations: 41.64 kB / 0.7826 GB, free: 2.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.421, allocations: 0 / 0.7826 GB, free: 2.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.421, allocations: 0 / 0.7826 GB, free: 2.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4214, allocations: 468.2 kB / 0.7831 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4226, allocations: 1.581 MB / 0.7846 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.4229, allocations: 0.6806 MB / 0.7853 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.4229, allocations: 4 kB / 0.7853 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.4229, allocations: 19.45 kB / 0.7853 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.4229, allocations: 0 / 0.7853 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.4459, allocations: 6.873 MB / 0.792 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.996, allocations: 3.938 kB / 0.792 GB, free: 8.793 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)