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.001314/0.001314, allocations: 105 kB / 20.48 MB, free: 1.488 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.00144/0.00144, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.477/1.477, allocations: 230.6 MB / 257.6 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.939/0.939, allocations: 150 MB / 464 MB, free: 10.5 MB / 366.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002022/0.002022, allocations: 66.27 kB / 0.6421 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1868, allocations: 89.16 MB / 0.7292 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005658/0.1924, allocations: 4.182 MB / 0.7333 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1963, allocations: 2.475 MB / 0.7357 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.1966, allocations: 12 kB / 0.7357 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.1984, allocations: 0.5598 MB / 0.7362 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.1989, allocations: 246 kB / 0.7365 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1992, allocations: 143.8 kB / 0.7366 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008715/0.2, allocations: 0.8059 MB / 0.7374 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.2004, allocations: 231 kB / 0.7376 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.2009, allocations: 310.9 kB / 0.7379 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.2013, allocations: 330.6 kB / 0.7382 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.2014, allocations: 72 kB / 0.7383 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2015, allocations: 76 kB / 0.7384 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.2017, allocations: 163.5 kB / 0.7385 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.2021, allocations: 390.2 kB / 0.7389 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2032, allocations: 0.9962 MB / 0.7399 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2032, allocations: 0 / 0.7399 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2032, allocations: 0 / 0.7399 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.2032, allocations: 0 / 0.7399 GB, free: 6.242 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.001589/0.2048, allocations: 0.896 MB / 0.7407 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.2048, allocations: 8.031 kB / 0.7407 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.2049, allocations: 13.19 kB / 0.7408 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.205, allocations: 90.7 kB / 0.7408 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.2051, allocations: 80.41 kB / 0.7409 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.2059, allocations: 400.2 kB / 0.7413 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.2059, allocations: 44.94 kB / 0.7413 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.206, allocations: 48 kB / 0.7414 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.2068, allocations: 426.5 kB / 0.7418 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2068, allocations: 0 / 0.7418 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.2068, allocations: 20 kB / 0.7418 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.2069, allocations: 12 kB / 0.7418 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007326/0.2076, allocations: 363.8 kB / 0.7422 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2099, allocations: 1.484 MB / 0.7436 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.2104, allocations: 307 kB / 0.7439 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.2109, allocations: 288.7 kB / 0.7442 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.211, allocations: 4.766 kB / 0.7442 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.211, allocations: 39.25 kB / 0.7442 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.023e-06/0.211, allocations: 0 / 0.7442 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001035/0.212, allocations: 0.4927 MB / 0.7447 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2121, allocations: 55.41 kB / 0.7448 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006261/0.2127, allocations: 489.9 kB / 0.7452 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.2127, allocations: 29.7 kB / 0.7453 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.213, allocations: 284.6 kB / 0.7455 GB, free: 240 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.2131, allocations: 154.6 kB / 0.7457 GB, free: 84 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2132, allocations: 62.08 kB / 0.7457 GB, free: 12 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2134, allocations: 362.7 kB / 0.7461 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.2137, allocations: 124.7 kB / 0.7462 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.2139, allocations: 129.4 kB / 0.7463 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/0.2145, allocations: 298 kB / 0.7466 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2145, allocations: 0 / 0.7466 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007175/0.2152, allocations: 400.5 kB / 0.747 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2152, allocations: 8 kB / 0.747 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2152, allocations: 0 / 0.747 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2152, allocations: 7.984 kB / 0.747 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.2158, allocations: 123.9 kB / 0.7471 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2158, allocations: 4 kB / 0.7471 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.216, allocations: 31.73 kB / 0.7472 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.216, allocations: 15.98 kB / 0.7472 GB, free: 14.52 MB / 0.5762 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.0002397/0.2163, allocations: 197.7 kB / 0.7474 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.201e-05/0.2163, allocations: 51.67 kB / 0.7474 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2165, allocations: 61.09 kB / 0.7475 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.2165, allocations: 4 kB / 0.7475 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2165, allocations: 0 / 0.7475 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2165, allocations: 3.984 kB / 0.7475 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007173/0.2172, allocations: 0.543 MB / 0.748 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2172, allocations: 0 / 0.748 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.2177, allocations: 127.9 kB / 0.7481 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2177, allocations: 4 kB / 0.7481 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.2178, allocations: 15.92 kB / 0.7482 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2178, allocations: 8 kB / 0.7482 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2178, allocations: 3.938 kB / 0.7482 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.2188, allocations: 0.6406 MB / 0.7488 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.219, allocations: 67.56 kB / 0.7489 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.219, allocations: 8 kB / 0.7489 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.2192, allocations: 20 kB / 0.7489 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.2193, allocations: 23.95 kB / 0.7489 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2193, allocations: 11.98 kB / 0.7489 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004311/0.2198, allocations: 351.1 kB / 0.7492 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2198, allocations: 0 / 0.7492 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004133/0.2202, allocations: 139.7 kB / 0.7494 GB, free: 12.2 MB / 0.5762 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.00151/0.2217, allocations: 1.215 MB / 0.7506 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.2224, allocations: 299.6 kB / 0.7509 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2224, allocations: 4 kB / 0.7509 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.2227, allocations: 171.6 kB / 0.751 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.2234, allocations: 119.2 kB / 0.7511 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/0.2307, allocations: 4.863 MB / 0.7559 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.2313, allocations: 0.8703 MB / 0.7567 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.2315, allocations: 48.31 kB / 0.7568 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.2318, allocations: 191.4 kB / 0.757 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of SimCode: time 1.123e-06/0.2318, allocations: 0 / 0.757 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/0.6171, allocations: 11.8 MB / 0.7685 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.55, allocations: 6.359 kB / 0.7685 GB, free: 34.09 MB / 0.5762 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 16.411983960017096] Failed to read output from testmodel.py, exit status != 0: 12.715706757968292 12.742227781 12.534389056 Calling exit ...