Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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.005389/0.00539, allocations: 101 kB / 15.73 MB, free: 6.059 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.001507/0.001507, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002614, allocations: 297.7 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 1.017/1.017, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002715/0.002715, allocations: 99.83 kB / 0.681 GB, free: 7.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4525, allocations: 86.97 MB / 0.766 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00243/0.4549, allocations: 1.416 MB / 0.7674 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.4595, allocations: 2.866 MB / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.4596, allocations: 0 / 0.7702 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.4597, allocations: 7.922 kB / 0.7702 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.4598, allocations: 11.88 kB / 0.7702 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.464, allocations: 1.551 MB / 0.7717 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4641, allocations: 47.67 kB / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.682e-05/0.4641, allocations: 0 / 0.7717 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.689e-05/0.4642, allocations: 11.94 kB / 0.7718 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.501e-05/0.4642, allocations: 23.91 kB / 0.7718 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4642, allocations: 0 / 0.7718 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.4665, allocations: 1.486 MB / 0.7732 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.4666, allocations: 7.938 kB / 0.7732 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.4666, allocations: 15.88 kB / 0.7733 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.4684, allocations: 1.081 MB / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4684, allocations: 0 / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4684, allocations: 0 / 0.7743 GB, free: 11.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4684, allocations: 3.938 kB / 0.7743 GB, free: 11.32 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.0006735/0.4691, allocations: 0.5324 MB / 0.7748 GB, free: 10.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4691, allocations: 8.031 kB / 0.7748 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.4692, allocations: 106 kB / 0.7749 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.4693, allocations: 84.17 kB / 0.775 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.4694, allocations: 255.5 kB / 0.7753 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.4695, allocations: 154.9 kB / 0.7754 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.4696, allocations: 154.9 kB / 0.7756 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.48e-05/0.4697, allocations: 104.9 kB / 0.7757 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.4697, allocations: 75.28 kB / 0.7757 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.4698, allocations: 150.6 kB / 0.7759 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/0.4698, allocations: 158.6 kB / 0.776 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.393e-05/0.4699, allocations: 154.5 kB / 0.7762 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.4702, allocations: 461.9 kB / 0.7766 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.4703, allocations: 169.1 kB / 0.7768 GB, free: 8.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.4704, allocations: 84.14 kB / 0.7769 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.4704, allocations: 79.22 kB / 0.7769 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.4705, allocations: 105.8 kB / 0.777 GB, free: 8.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.4705, allocations: 0 / 0.777 GB, free: 8.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.438e-05/0.4706, allocations: 41.59 kB / 0.7771 GB, free: 8.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.4707, allocations: 126.7 kB / 0.7772 GB, free: 8.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.4708, allocations: 132.6 kB / 0.7773 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4708, allocations: 25.7 kB / 0.7773 GB, free: 7.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.4709, allocations: 96.12 kB / 0.7774 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.4709, allocations: 0 / 0.7774 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.4709, allocations: 13.72 kB / 0.7774 GB, free: 7.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4711, allocations: 318.8 kB / 0.7778 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.4711, allocations: 0 / 0.7778 GB, free: 7.559 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.4711, allocations: 15.94 kB / 0.7778 GB, free: 7.543 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.4712, allocations: 16.89 kB / 0.7778 GB, free: 7.523 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4712, allocations: 0 / 0.7778 GB, free: 7.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001283/0.4713, allocations: 57.53 kB / 0.7778 GB, free: 7.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4714, allocations: 7.984 kB / 0.7778 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.4714, allocations: 4 kB / 0.7778 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.4714, allocations: 0 / 0.7778 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.4714, allocations: 0 / 0.7778 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4714, allocations: 0 / 0.7778 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.4714, allocations: 0 / 0.7778 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.4714, allocations: 4 kB / 0.7779 GB, free: 7.445 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.0001099/0.4716, allocations: 185.2 kB / 0.778 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.4716, allocations: 116.9 kB / 0.7781 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.4717, allocations: 116.8 kB / 0.7783 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.567e-05/0.4718, allocations: 188.2 kB / 0.7784 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.893e-05/0.4719, allocations: 180.2 kB / 0.7786 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.4719, allocations: 176.3 kB / 0.7788 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.4722, allocations: 417.2 kB / 0.7792 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-05/0.4723, allocations: 112.9 kB / 0.7793 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.4723, allocations: 105 kB / 0.7794 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.732e-05/0.4724, allocations: 180.2 kB / 0.7795 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/0.4725, allocations: 180.3 kB / 0.7797 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-05/0.4726, allocations: 180.3 kB / 0.7799 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.138e-05/0.4727, allocations: 184.2 kB / 0.7801 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.4729, allocations: 311.7 kB / 0.7804 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.473, allocations: 182.1 kB / 0.7805 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.4731, allocations: 184.2 kB / 0.7807 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.4732, allocations: 108.9 kB / 0.7808 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.4732, allocations: 180.3 kB / 0.781 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.4733, allocations: 104.9 kB / 0.7811 GB, free: 3.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.708e-05/0.4734, allocations: 99.27 kB / 0.7812 GB, free: 3.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4734, allocations: 0 / 0.7812 GB, free: 3.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008852/0.4743, allocations: 287 kB / 0.7815 GB, free: 3.523 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.00164/0.4759, allocations: 1.163 MB / 0.7826 GB, free: 2.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.4761, allocations: 41.62 kB / 0.7826 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4761, allocations: 4 kB / 0.7826 GB, free: 2.281 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.4761, allocations: 4.062 kB / 0.7826 GB, free: 2.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.4766, allocations: 465.5 kB / 0.7831 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.4781, allocations: 1.578 MB / 0.7846 GB, free: 172 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.4784, allocations: 0.6923 MB / 0.7853 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.532e-05/0.4785, allocations: 0 / 0.7853 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.4785, allocations: 15.44 kB / 0.7853 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.4785, allocations: 0 / 0.7853 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.5069, allocations: 6.877 MB / 0.792 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.67, allocations: 7.062 kB / 0.792 GB, free: 8.777 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)