Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 106 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.00244, allocations: 286.8 kB / 297.5 MB, free: 12.38 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.164/1.164, allocations: 178.5 MB / 0.5159 GB, free: 12.53 MB / 382.1 MB " [Timeout remaining time 179] 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002678, allocations: 95.84 kB / 0.7048 GB, free: 12.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3983, allocations: 89.13 MB / 0.7919 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004705/0.4031, allocations: 4.141 MB / 0.7959 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003753/0.4069, allocations: 2.404 MB / 0.7983 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.4073, allocations: 9.5 kB / 0.7983 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.409, allocations: 0.5395 MB / 0.7988 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.4097, allocations: 250.3 kB / 0.799 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.41, allocations: 143.9 kB / 0.7992 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.4108, allocations: 0.8118 MB / 0.8 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.4113, allocations: 320.6 kB / 0.8003 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.4117, allocations: 292.1 kB / 0.8005 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.4121, allocations: 329.2 kB / 0.8009 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.4122, allocations: 73.47 kB / 0.8009 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.4123, allocations: 78.94 kB / 0.801 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4125, allocations: 170.5 kB / 0.8012 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.4129, allocations: 383.5 kB / 0.8015 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4139, allocations: 1.006 MB / 0.8025 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.4139, allocations: 0 / 0.8025 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4139, allocations: 0 / 0.8025 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.4139, allocations: 1.125 kB / 0.8025 GB, free: 9.777 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001487/0.4154, allocations: 0.9666 MB / 0.8035 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4155, allocations: 9.594 kB / 0.8035 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.4156, allocations: 90.27 kB / 0.8036 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.4157, allocations: 80.94 kB / 0.8036 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006836/0.4164, allocations: 455.8 kB / 0.8041 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.4164, allocations: 36.84 kB / 0.8041 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.4165, allocations: 55.3 kB / 0.8042 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.4173, allocations: 423.1 kB / 0.8046 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4173, allocations: 5.078 kB / 0.8046 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.4174, allocations: 23.22 kB / 0.8046 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.4174, allocations: 11.88 kB / 0.8046 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.4181, allocations: 368.8 kB / 0.805 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.4202, allocations: 1.524 MB / 0.8064 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.4208, allocations: 345.5 kB / 0.8068 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.4213, allocations: 317.7 kB / 0.8071 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4213, allocations: 12 kB / 0.8071 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4213, allocations: 37.31 kB / 0.8071 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.325e-06/0.4213, allocations: 0 / 0.8071 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009809/0.4223, allocations: 0.494 MB / 0.8076 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.4224, allocations: 55.53 kB / 0.8077 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.423, allocations: 486.7 kB / 0.8081 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.423, allocations: 35.88 kB / 0.8082 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4232, allocations: 279 kB / 0.8084 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.4234, allocations: 156 kB / 0.8086 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4235, allocations: 60.67 kB / 0.8086 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4236, allocations: 362.4 kB / 0.809 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.4239, allocations: 126.1 kB / 0.8091 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.4242, allocations: 129.2 kB / 0.8092 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.4247, allocations: 304.2 kB / 0.8095 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4247, allocations: 0 / 0.8095 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000674/0.4254, allocations: 398.3 kB / 0.8099 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4254, allocations: 4.219 kB / 0.8099 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4254, allocations: 1.438 kB / 0.8099 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4254, allocations: 1.5 kB / 0.8099 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.4259, allocations: 123.5 kB / 0.81 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.4259, allocations: 5.5 kB / 0.81 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.4262, allocations: 44.72 kB / 0.8101 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4262, allocations: 7.906 kB / 0.8101 GB, free: 4.41 MB / 0.5606 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002343/0.4265, allocations: 196.4 kB / 0.8103 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.4266, allocations: 57.02 kB / 0.8103 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4267, allocations: 58.3 kB / 0.8104 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4267, allocations: 8.984 kB / 0.8104 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4267, allocations: 0 / 0.8104 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4267, allocations: 3.984 kB / 0.8104 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.4274, allocations: 0.5786 MB / 0.8109 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.4274, allocations: 9.312 kB / 0.8109 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.4279, allocations: 123.3 kB / 0.8111 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.428, allocations: 2.094 kB / 0.8111 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.428, allocations: 10.06 kB / 0.8111 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.428, allocations: 1.094 kB / 0.8111 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.428, allocations: 1.188 kB / 0.8111 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009989/0.429, allocations: 0.6541 MB / 0.8117 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4292, allocations: 140.2 kB / 0.8119 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.4292, allocations: 5.656 kB / 0.8119 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.4294, allocations: 16.92 kB / 0.8119 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.4295, allocations: 23.12 kB / 0.8119 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.4295, allocations: 12.19 kB / 0.8119 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004027/0.43, allocations: 350.3 kB / 0.8122 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.43, allocations: 5.812 kB / 0.8122 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004317/0.4304, allocations: 148.3 kB / 0.8124 GB, free: 2.816 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.001363/0.4318, allocations: 1.211 MB / 0.8136 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.4324, allocations: 323.5 kB / 0.8139 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4324, allocations: 0 / 0.8139 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.4327, allocations: 175.8 kB / 0.814 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006648/0.4334, allocations: 129.2 kB / 0.8142 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/0.4399, allocations: 4.869 MB / 0.8189 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.4404, allocations: 0.8665 MB / 0.8198 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.4406, allocations: 52.41 kB / 0.8198 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.4409, allocations: 191.4 kB / 0.82 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.4409, allocations: 0 / 0.82 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.4778, allocations: 11.48 MB / 0.8312 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.941, allocations: 10 kB / 0.8312 GB, free: 15.87 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.657622669939883] Failed to read output from testmodel.py, exit status != 0: 9.01224127493333 9.026375432 8.609796007 Calling exit ...