Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007729/0.0007729, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8601/0.8601, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5465/0.5465, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.475e-05, allocations: 7.094 kB / 0.5543 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003285/0.0033, allocations: 3.788 MB / 0.558 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.005564, allocations: 2.226 MB / 0.5601 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.005763, allocations: 19.94 kB / 0.5601 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.006881, allocations: 0.5128 MB / 0.5606 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.007201, allocations: 257.8 kB / 0.5609 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.007365, allocations: 135.8 kB / 0.561 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.007903, allocations: 0.8366 MB / 0.5618 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.008159, allocations: 219 kB / 0.562 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.008572, allocations: 463 kB / 0.5625 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.0088, allocations: 243.3 kB / 0.5627 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.008855, allocations: 79.94 kB / 0.5628 GB, free: 9.938 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.008917, allocations: 76 kB / 0.5629 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.009034, allocations: 167.4 kB / 0.563 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.009202, allocations: 267.4 kB / 0.5633 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006005/0.009803, allocations: 0.9968 MB / 0.5643 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.009805, allocations: 0 / 0.5643 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.32e-07/0.009806, allocations: 0 / 0.5643 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.009816, allocations: 0 / 0.5643 GB, free: 8.438 MB / 0.5261 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.0009078/0.01072, allocations: 0.8821 MB / 0.5651 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.01076, allocations: 12.03 kB / 0.5651 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.912e-05/0.01083, allocations: 90.7 kB / 0.5652 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.0109, allocations: 76.47 kB / 0.5653 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.01131, allocations: 399.4 kB / 0.5657 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.01134, allocations: 37.38 kB / 0.5657 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.01139, allocations: 56.33 kB / 0.5658 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.01185, allocations: 426.4 kB / 0.5662 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.01186, allocations: 4 kB / 0.5662 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.01189, allocations: 24 kB / 0.5662 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.0119, allocations: 11.98 kB / 0.5662 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.01233, allocations: 367.8 kB / 0.5666 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.01361, allocations: 1.245 MB / 0.5678 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.01395, allocations: 315.2 kB / 0.5681 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.01424, allocations: 281.4 kB / 0.5683 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.01426, allocations: 7.781 kB / 0.5683 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.01428, allocations: 46.55 kB / 0.5684 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.01428, allocations: 0 / 0.5684 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.0005695/0.01485, allocations: 496.7 kB / 0.5689 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.01489, allocations: 55.41 kB / 0.5689 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.01524, allocations: 485.9 kB / 0.5694 GB, free: 3.023 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01526, allocations: 34.41 kB / 0.5694 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01538, allocations: 284.6 kB / 0.5697 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.894e-05/0.01546, allocations: 154.6 kB / 0.5698 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.01552, allocations: 66.08 kB / 0.5699 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.01562, allocations: 358.8 kB / 0.5702 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.01577, allocations: 124.7 kB / 0.5704 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01591, allocations: 125.5 kB / 0.5705 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.01622, allocations: 306 kB / 0.5708 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01622, allocations: 0 / 0.5708 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003871/0.01661, allocations: 404.5 kB / 0.5712 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01662, allocations: 4 kB / 0.5712 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01663, allocations: 0 / 0.5712 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01664, allocations: 4 kB / 0.5712 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.01691, allocations: 123.9 kB / 0.5713 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.01692, allocations: 0 / 0.5713 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.01702, allocations: 31.73 kB / 0.5713 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.01703, allocations: 12 kB / 0.5713 GB, free: 0.9961 MB / 0.5261 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.0001413/0.01717, allocations: 201.8 kB / 0.5715 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.01722, allocations: 55.61 kB / 0.5716 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.01728, allocations: 65.03 kB / 0.5716 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01728, allocations: 4 kB / 0.5716 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01728, allocations: 0 / 0.5716 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01729, allocations: 3.984 kB / 0.5716 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.01765, allocations: 480.3 kB / 0.5721 GB, free: 152 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01765, allocations: 3.938 kB / 0.5721 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.01791, allocations: 127.9 kB / 0.5722 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01792, allocations: 0 / 0.5722 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01793, allocations: 12 kB / 0.5722 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01793, allocations: 0 / 0.5722 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01793, allocations: 4 kB / 0.5722 GB, free: 4 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.01854, allocations: 0.6443 MB / 0.5729 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.01861, allocations: 67.52 kB / 0.5729 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.01864, allocations: 12 kB / 0.5729 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01874, allocations: 23.92 kB / 0.573 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.01879, allocations: 19.95 kB / 0.573 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.0188, allocations: 12 kB / 0.573 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002483/0.01905, allocations: 355 kB / 0.5733 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.01905, allocations: 0 / 0.5733 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002389/0.01929, allocations: 143.7 kB / 0.5735 GB, free: 14.73 MB / 0.5417 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.0007588/0.02005, allocations: 1.2 MB / 0.5746 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.0204, allocations: 311.5 kB / 0.5749 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.0204, allocations: 0 / 0.5749 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.02056, allocations: 167.8 kB / 0.5751 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.02095, allocations: 124.5 kB / 0.5752 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.02535, allocations: 4.797 MB / 0.5799 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.02552, allocations: 275 kB / 0.5802 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.02565, allocations: 56.34 kB / 0.5802 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.02582, allocations: 192.4 kB / 0.5804 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of SimCode: time 7.32e-07/0.02582, allocations: 0 / 0.5804 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.04894, allocations: 12.73 MB / 0.5928 GB, free: 11.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/6.986, allocations: 4.062 kB / 0.5928 GB, free: 11.14 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.452229911461473] Failed to read output from testmodel.py, exit status != 0: 7.072376064956188 7.084625886 7.073041779 Calling exit ...