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.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.001274/0.001274, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 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.001363/0.001363, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.38/1.38, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002323/0.002323, allocations: 278.8 kB / 309.8 MB, free: 3.41 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.004/1.004, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 103.8 kB / 0.7347 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.493, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004646/0.4976, allocations: 4.176 MB / 0.8319 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004275/0.5019, allocations: 2.46 MB / 0.8343 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.5022, allocations: 11.75 kB / 0.8343 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.5039, allocations: 0.5371 MB / 0.8348 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.5045, allocations: 255.3 kB / 0.8351 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.5048, allocations: 137.8 kB / 0.8352 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008136/0.5056, allocations: 0.816 MB / 0.836 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.5059, allocations: 227 kB / 0.8362 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.5064, allocations: 308 kB / 0.8365 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.5068, allocations: 333.6 kB / 0.8368 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.439e-05/0.5069, allocations: 73.91 kB / 0.8369 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.507, allocations: 75.72 kB / 0.837 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.5071, allocations: 164 kB / 0.8371 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.5075, allocations: 392.7 kB / 0.8375 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.5087, allocations: 1.001 MB / 0.8385 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5087, allocations: 0 / 0.8385 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5087, allocations: 4 kB / 0.8385 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.5087, allocations: 0 / 0.8385 GB, free: 12.18 MB / 0.5919 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.001475/0.5102, allocations: 0.9673 MB / 0.8394 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5102, allocations: 7.531 kB / 0.8395 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.615e-05/0.5102, allocations: 12.84 kB / 0.8395 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.745e-05/0.5103, allocations: 89.05 kB / 0.8395 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.5104, allocations: 74.72 kB / 0.8396 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006591/0.5111, allocations: 469.1 kB / 0.8401 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.5111, allocations: 33.61 kB / 0.8401 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.5112, allocations: 46.19 kB / 0.8401 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.5119, allocations: 436.4 kB / 0.8406 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5119, allocations: 0 / 0.8406 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.512, allocations: 20.47 kB / 0.8406 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.512, allocations: 12.34 kB / 0.8406 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.5126, allocations: 370 kB / 0.8409 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.5148, allocations: 1.521 MB / 0.8424 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.5154, allocations: 326.2 kB / 0.8427 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.5159, allocations: 288.9 kB / 0.843 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5159, allocations: 5.219 kB / 0.843 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.5159, allocations: 37.08 kB / 0.8431 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.403e-06/0.5159, allocations: 0 / 0.8431 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.0009991/0.5169, allocations: 0.5033 MB / 0.8435 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.5169, allocations: 56.66 kB / 0.8436 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.5175, allocations: 486.9 kB / 0.8441 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.5176, allocations: 31.45 kB / 0.8441 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.5178, allocations: 275 kB / 0.8444 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.5179, allocations: 154.9 kB / 0.8445 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.518, allocations: 62.22 kB / 0.8446 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5182, allocations: 359.6 kB / 0.8449 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.5185, allocations: 123.6 kB / 0.845 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.5187, allocations: 132.2 kB / 0.8452 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.5193, allocations: 292.3 kB / 0.8454 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5193, allocations: 0.5 kB / 0.8454 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008394/0.5202, allocations: 397.1 kB / 0.8458 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.5202, allocations: 8.938 kB / 0.8458 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5202, allocations: 5.25 kB / 0.8458 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5202, allocations: 1.625 kB / 0.8458 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.5208, allocations: 128.2 kB / 0.8459 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.5208, allocations: 1.812 kB / 0.8459 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5211, allocations: 39.78 kB / 0.846 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.5211, allocations: 11.41 kB / 0.846 GB, free: 7.664 MB / 0.5919 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.0002301/0.5213, allocations: 199.7 kB / 0.8462 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.5214, allocations: 56.95 kB / 0.8462 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.5215, allocations: 61.03 kB / 0.8463 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5215, allocations: 8.516 kB / 0.8463 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5215, allocations: 0 / 0.8463 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5215, allocations: 3 kB / 0.8463 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007378/0.5223, allocations: 0.5811 MB / 0.8469 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5223, allocations: 1.219 kB / 0.8469 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.5228, allocations: 127.7 kB / 0.847 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5228, allocations: 2.828 kB / 0.847 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.5229, allocations: 10.28 kB / 0.847 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.5229, allocations: 1.75 kB / 0.847 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5229, allocations: 1.125 kB / 0.847 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5239, allocations: 0.6474 MB / 0.8476 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.524, allocations: 144.1 kB / 0.8478 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.5241, allocations: 6.156 kB / 0.8478 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.5243, allocations: 16.7 kB / 0.8478 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.5244, allocations: 19.41 kB / 0.8478 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.5244, allocations: 11.94 kB / 0.8478 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000416/0.5248, allocations: 356.8 kB / 0.8482 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5248, allocations: 0 / 0.8482 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004187/0.5252, allocations: 141.7 kB / 0.8483 GB, free: 6.328 MB / 0.5919 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.001353/0.5266, allocations: 1.21 MB / 0.8495 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.5272, allocations: 304.6 kB / 0.8498 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5272, allocations: 7.938 kB / 0.8498 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.5275, allocations: 164 kB / 0.8499 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006475/0.5281, allocations: 136.7 kB / 0.8501 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.5349, allocations: 4.861 MB / 0.8548 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5354, allocations: 0.872 MB / 0.8557 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.5357, allocations: 62.45 kB / 0.8557 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.5359, allocations: 190.4 kB / 0.8559 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of SimCode: time 6.32e-07/0.5359, allocations: 1.375 kB / 0.8559 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.5713, allocations: 11.6 MB / 0.8672 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.833/9.404, allocations: 7.672 kB / 0.8673 GB, free: 12.96 MB / 0.6075 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 13.187609709973913] Failed to read output from testmodel.py, exit status != 0: 9.534795027051587 9.556938055 9.043941667 Calling exit ...