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.00149/0.00149, allocations: 109 kB / 20.45 MB, free: 1.496 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.001823/0.001823, allocations: 208.6 kB / 23.75 MB, free: 4.727 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.9527/0.9527, allocations: 150 MB / 463.9 MB, free: 10.49 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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002084/0.002084, allocations: 62.81 kB / 0.6425 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2225, allocations: 89.17 MB / 0.7296 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00667/0.2292, allocations: 4.184 MB / 0.7337 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00469/0.2339, allocations: 2.471 MB / 0.7361 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.2343, allocations: 8 kB / 0.7361 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.2364, allocations: 0.5715 MB / 0.7367 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.237, allocations: 242 kB / 0.7369 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.2373, allocations: 135.9 kB / 0.7371 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2384, allocations: 0.8129 MB / 0.7379 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.2388, allocations: 227 kB / 0.7381 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.2393, allocations: 310.9 kB / 0.7384 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.2398, allocations: 330.6 kB / 0.7387 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.667e-05/0.2399, allocations: 72 kB / 0.7387 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.24, allocations: 76 kB / 0.7388 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.2402, allocations: 167.4 kB / 0.739 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.2406, allocations: 390.2 kB / 0.7394 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.2419, allocations: 0.9961 MB / 0.7403 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2419, allocations: 0 / 0.7403 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2419, allocations: 4 kB / 0.7403 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.2419, allocations: 0 / 0.7403 GB, free: 5.699 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.001519/0.2434, allocations: 0.8899 MB / 0.7412 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2434, allocations: 8.031 kB / 0.7412 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.2435, allocations: 76.47 kB / 0.7413 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.2442, allocations: 404.2 kB / 0.7417 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.2443, allocations: 33.38 kB / 0.7417 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/0.2444, allocations: 59.92 kB / 0.7418 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.2451, allocations: 422.5 kB / 0.7422 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.2451, allocations: 0 / 0.7422 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.2452, allocations: 23.98 kB / 0.7422 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.2452, allocations: 12 kB / 0.7422 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.2459, allocations: 371.7 kB / 0.7425 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.2481, allocations: 1.473 MB / 0.744 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.2486, allocations: 310.9 kB / 0.7443 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.2491, allocations: 284.7 kB / 0.7446 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.2491, allocations: 8 kB / 0.7446 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2491, allocations: 39.95 kB / 0.7446 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.312e-06/0.2492, allocations: 0 / 0.7446 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009674/0.2501, allocations: 0.4927 MB / 0.7451 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.2502, allocations: 55.41 kB / 0.7451 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.2507, allocations: 489.9 kB / 0.7456 GB, free: 128 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.2508, allocations: 29.7 kB / 0.7456 GB, free: 92 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.251, allocations: 280.7 kB / 0.7459 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.2511, allocations: 158.6 kB / 0.746 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2512, allocations: 58.08 kB / 0.7461 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2514, allocations: 362.8 kB / 0.7464 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.2517, allocations: 120.7 kB / 0.7466 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.2519, allocations: 129.4 kB / 0.7467 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.2524, allocations: 302 kB / 0.747 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2524, allocations: 3.938 kB / 0.747 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006383/0.2531, allocations: 392.5 kB / 0.7474 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2531, allocations: 8 kB / 0.7474 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2531, allocations: 0 / 0.7474 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2531, allocations: 0 / 0.7474 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.2536, allocations: 131.9 kB / 0.7475 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2537, allocations: 7.984 kB / 0.7475 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.2539, allocations: 39.72 kB / 0.7475 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2539, allocations: 8 kB / 0.7475 GB, free: 14.1 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.0002323/0.2541, allocations: 201.7 kB / 0.7477 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.2542, allocations: 55.61 kB / 0.7478 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.2543, allocations: 61.09 kB / 0.7478 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2543, allocations: 8 kB / 0.7478 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2543, allocations: 0 / 0.7478 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2543, allocations: 3.984 kB / 0.7479 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.255, allocations: 0.543 MB / 0.7484 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.255, allocations: 0 / 0.7484 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.2555, allocations: 127.8 kB / 0.7485 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.2555, allocations: 4 kB / 0.7485 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.2556, allocations: 4 kB / 0.7485 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.2556, allocations: 7.938 kB / 0.7485 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2556, allocations: 4 kB / 0.7485 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2566, allocations: 0.6484 MB / 0.7492 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2567, allocations: 63.53 kB / 0.7492 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.2567, allocations: 11.94 kB / 0.7492 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.2569, allocations: 8 kB / 0.7492 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.257, allocations: 31.94 kB / 0.7493 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.257, allocations: 12 kB / 0.7493 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004142/0.2574, allocations: 347.1 kB / 0.7496 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2574, allocations: 0 / 0.7496 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004044/0.2579, allocations: 143.7 kB / 0.7497 GB, free: 11.77 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.0001637/0.258, allocations: 111.2 kB / 0.7499 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.2586, allocations: 311.7 kB / 0.7502 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2586, allocations: 4 kB / 0.7502 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.2589, allocations: 163.8 kB / 0.7503 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.2595, allocations: 130.2 kB / 0.7504 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.2616, allocations: 1.248 MB / 0.7517 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.2621, allocations: 0.8703 MB / 0.7525 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.2622, allocations: 39.44 kB / 0.7525 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2622, allocations: 0 / 0.7525 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of Templates: time 0.01085/0.2731, allocations: 6.906 MB / 0.7593 GB, free: 2 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.99375663115643] Failed to read output from testmodel.py, exit status != 0: 0.2821741390507668 0.7118124050000001 0.46657605 Calling exit ...