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.007532/0.007532, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002/0.002, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.421/1.421, 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.002506/0.002506, allocations: 284.9 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.9778/0.9778, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 104 kB / 0.6811 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.407, 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.00247/0.4095, allocations: 1.42 MB / 0.7674 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004463/0.414, allocations: 2.854 MB / 0.7702 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.414, allocations: 4 kB / 0.7702 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.414, allocations: 3.938 kB / 0.7702 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.4141, allocations: 15.84 kB / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.4178, allocations: 1.557 MB / 0.7717 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.548e-05/0.4179, allocations: 31.75 kB / 0.7717 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.4179, allocations: 11.97 kB / 0.7717 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/0.4179, allocations: 19.94 kB / 0.7718 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.285e-05/0.418, allocations: 11.88 kB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.418, allocations: 4 kB / 0.7718 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.4202, allocations: 1.482 MB / 0.7732 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.4202, allocations: 7.938 kB / 0.7732 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.4202, allocations: 19.84 kB / 0.7733 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.4217, allocations: 1.077 MB / 0.7743 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.4217, allocations: 4 kB / 0.7743 GB, free: 11.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4217, allocations: 0 / 0.7743 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4217, allocations: 4 kB / 0.7743 GB, free: 11.33 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.0006229/0.4224, allocations: 0.5246 MB / 0.7748 GB, free: 10.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.4224, allocations: 8.031 kB / 0.7748 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.932e-05/0.4225, allocations: 106 kB / 0.7749 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.4225, allocations: 84.17 kB / 0.775 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.4227, allocations: 262.1 kB / 0.7753 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.4228, allocations: 150.9 kB / 0.7754 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.4229, allocations: 154.9 kB / 0.7756 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.423, allocations: 108.9 kB / 0.7757 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.423, allocations: 79.22 kB / 0.7757 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.4231, allocations: 150.6 kB / 0.7759 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.4232, allocations: 150.6 kB / 0.776 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.4232, allocations: 154.6 kB / 0.7762 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.4236, allocations: 469.9 kB / 0.7766 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.4237, allocations: 169.1 kB / 0.7768 GB, free: 8.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.4238, allocations: 84.08 kB / 0.7769 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.4238, allocations: 83.22 kB / 0.7769 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.4239, allocations: 109.8 kB / 0.777 GB, free: 8.352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4239, allocations: 0 / 0.777 GB, free: 8.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.527e-05/0.4239, allocations: 33.64 kB / 0.7771 GB, free: 8.312 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.424, allocations: 130.7 kB / 0.7772 GB, free: 8.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.4242, allocations: 129.8 kB / 0.7773 GB, free: 8.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4242, allocations: 25.7 kB / 0.7773 GB, free: 8.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.4243, allocations: 92.12 kB / 0.7774 GB, free: 7.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.4243, allocations: 3.938 kB / 0.7774 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.4243, allocations: 21.72 kB / 0.7775 GB, free: 7.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4245, allocations: 314.8 kB / 0.7778 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.4245, allocations: 15.88 kB / 0.7778 GB, free: 7.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.4245, allocations: 4.031 kB / 0.7778 GB, free: 7.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.4246, allocations: 8.859 kB / 0.7778 GB, free: 7.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4246, allocations: 0 / 0.7778 GB, free: 7.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001336/0.4247, allocations: 53.58 kB / 0.7778 GB, free: 7.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4247, allocations: 12.06 kB / 0.7778 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4248, allocations: 0 / 0.7778 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4248, allocations: 0 / 0.7778 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.4248, allocations: 0 / 0.7778 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4248, allocations: 4 kB / 0.7779 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.4248, allocations: 0 / 0.7779 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4248, allocations: 0 / 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 0.0001164/0.425, allocations: 193 kB / 0.778 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.425, allocations: 120.9 kB / 0.7782 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.4251, allocations: 108.9 kB / 0.7783 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/0.4252, allocations: 184.2 kB / 0.7784 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.39e-05/0.4253, allocations: 180.2 kB / 0.7786 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.669e-05/0.4254, allocations: 184.2 kB / 0.7788 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.4257, allocations: 413.2 kB / 0.7792 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.4257, allocations: 105 kB / 0.7793 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.4258, allocations: 108.9 kB / 0.7794 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.572e-05/0.4259, allocations: 180.2 kB / 0.7795 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/0.426, allocations: 180.2 kB / 0.7797 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.312e-05/0.4261, allocations: 180.3 kB / 0.7799 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.444e-05/0.4261, allocations: 184.3 kB / 0.7801 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.4263, allocations: 311.6 kB / 0.7804 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.4264, allocations: 186 kB / 0.7805 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.4265, allocations: 180.3 kB / 0.7807 GB, free: 4.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.4266, allocations: 101 kB / 0.7808 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.4267, allocations: 188.2 kB / 0.781 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.4267, allocations: 105 kB / 0.7811 GB, free: 3.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.365e-05/0.4268, allocations: 110.2 kB / 0.7812 GB, free: 3.809 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.427e-06/0.4268, allocations: 0 / 0.7812 GB, free: 3.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006931/0.4275, allocations: 282.9 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.001382/0.4289, allocations: 1.165 MB / 0.7826 GB, free: 2.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.631e-05/0.429, allocations: 33.7 kB / 0.7826 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.429, allocations: 0 / 0.7826 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.429, allocations: 0 / 0.7826 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.4295, allocations: 476.1 kB / 0.7831 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.431, allocations: 1.575 MB / 0.7846 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4313, allocations: 0.6845 MB / 0.7853 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.265e-05/0.4313, allocations: 0 / 0.7853 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.4314, allocations: 23.45 kB / 0.7853 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4314, allocations: 4 kB / 0.7853 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.4603, allocations: 6.883 MB / 0.792 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.448, allocations: 7.125 kB / 0.792 GB, free: 8.789 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)