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.001302/0.001302, allocations: 82.48 kB / 19.94 MB, free: 1.777 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.001393/0.001393, allocations: 162.1 kB / 23.21 MB, free: 4.902 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.358/1.358, allocations: 177.1 MB / 203.5 MB, free: 9.156 MB / 190.1 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.886/0.886, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5547 GB, free: 2.609 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.902e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.605 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005381/0.00541, allocations: 3.791 MB / 0.5584 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.00916, allocations: 2.234 MB / 0.5606 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.009384, allocations: 12 kB / 0.5606 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.01091, allocations: 0.5168 MB / 0.5611 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.01135, allocations: 257.8 kB / 0.5614 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.01157, allocations: 139.8 kB / 0.5615 GB, free: 11.63 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008702/0.01244, allocations: 0.8366 MB / 0.5623 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.01281, allocations: 223 kB / 0.5625 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.01341, allocations: 467 kB / 0.563 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003515/0.01376, allocations: 243.3 kB / 0.5632 GB, free: 9.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.01385, allocations: 72 kB / 0.5633 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.01398, allocations: 76 kB / 0.5634 GB, free: 9.73 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.01415, allocations: 167.4 kB / 0.5635 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.01445, allocations: 271.4 kB / 0.5638 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.01546, allocations: 0.993 MB / 0.5648 GB, free: 8.305 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.01547, allocations: 0 / 0.5648 GB, free: 8.305 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01547, allocations: 0 / 0.5648 GB, free: 8.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01548, allocations: 0 / 0.5648 GB, free: 8.305 MB / 478.1 MB 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.001541/0.01702, allocations: 0.8821 MB / 0.5656 GB, free: 7.387 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01706, allocations: 12.62 kB / 0.5656 GB, free: 7.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.01718, allocations: 76.47 kB / 0.5657 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.0178, allocations: 399.5 kB / 0.5661 GB, free: 6.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.01784, allocations: 37.38 kB / 0.5661 GB, free: 6.848 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.01792, allocations: 48.38 kB / 0.5662 GB, free: 6.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/0.01872, allocations: 430.6 kB / 0.5666 GB, free: 6.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.01874, allocations: 4 kB / 0.5666 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.01879, allocations: 20 kB / 0.5666 GB, free: 6.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.0188, allocations: 16 kB / 0.5666 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.01954, allocations: 359.8 kB / 0.567 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.02152, allocations: 1.168 MB / 0.5681 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.0221, allocations: 307.5 kB / 0.5684 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.02263, allocations: 289.3 kB / 0.5687 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.02266, allocations: 7.781 kB / 0.5687 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.0227, allocations: 42.5 kB / 0.5687 GB, free: 4.133 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.0227, allocations: 4 kB / 0.5687 GB, free: 4.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.001077/0.02378, allocations: 494.6 kB / 0.5692 GB, free: 3.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.02383, allocations: 59.41 kB / 0.5692 GB, free: 3.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.02442, allocations: 437.9 kB / 0.5697 GB, free: 3.129 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.02446, allocations: 33.7 kB / 0.5697 GB, free: 3.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.02471, allocations: 284.5 kB / 0.57 GB, free: 2.809 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.02484, allocations: 150.7 kB / 0.5701 GB, free: 2.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.02496, allocations: 62.06 kB / 0.5702 GB, free: 2.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.02515, allocations: 362.7 kB / 0.5705 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.02542, allocations: 120.7 kB / 0.5706 GB, free: 2.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.02568, allocations: 121.5 kB / 0.5707 GB, free: 1.992 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.02626, allocations: 302.2 kB / 0.571 GB, free: 1.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02627, allocations: 0 / 0.571 GB, free: 1.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007176/0.02699, allocations: 396.5 kB / 0.5714 GB, free: 1.301 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.02701, allocations: 11.94 kB / 0.5714 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02701, allocations: 0 / 0.5714 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.02703, allocations: 0 / 0.5714 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005444/0.02757, allocations: 123.9 kB / 0.5715 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.02759, allocations: 4 kB / 0.5715 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.02782, allocations: 31.83 kB / 0.5716 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.02784, allocations: 4 kB / 0.5716 GB, free: 1.129 MB / 478.1 MB 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.0002705/0.02811, allocations: 202.9 kB / 0.5718 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.0282, allocations: 55.61 kB / 0.5718 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.02832, allocations: 56.81 kB / 0.5719 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.02832, allocations: 4 kB / 0.5719 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/0.02835, allocations: 4 kB / 0.5719 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.02835, allocations: 3.984 kB / 0.5719 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.02894, allocations: 412.9 kB / 0.5723 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.02895, allocations: 0 / 0.5723 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.02948, allocations: 123.9 kB / 0.5724 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.02949, allocations: 4 kB / 0.5724 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.02951, allocations: 15.94 kB / 0.5724 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.02952, allocations: 7.922 kB / 0.5724 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02952, allocations: 0 / 0.5724 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.0306, allocations: 0.6433 MB / 0.5731 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.03069, allocations: 59.64 kB / 0.5731 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.03075, allocations: 11.94 kB / 0.5731 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.03097, allocations: 11.98 kB / 0.5731 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.03103, allocations: 27.95 kB / 0.5732 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.03106, allocations: 12 kB / 0.5732 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003546/0.03141, allocations: 319.1 kB / 0.5735 GB, free: 15.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03141, allocations: 0 / 0.5735 GB, free: 15.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004014/0.03181, allocations: 147.7 kB / 0.5736 GB, free: 14.98 MB / 494.1 MB 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.0001476/0.03196, allocations: 111.2 kB / 0.5737 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000611/0.03257, allocations: 295.5 kB / 0.574 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.03257, allocations: 11.94 kB / 0.574 GB, free: 14.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.03288, allocations: 167.6 kB / 0.5742 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.03344, allocations: 102.5 kB / 0.5743 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.03517, allocations: 1.095 MB / 0.5753 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.03543, allocations: 263.2 kB / 0.5756 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.03558, allocations: 47.39 kB / 0.5756 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.03568, allocations: 32.5 kB / 0.5757 GB, free: 12.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.03568, allocations: 0 / 0.5757 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Templates: time 0.01048/0.04615, allocations: 4.948 MB / 0.5805 GB, free: 8.023 MB / 494.1 MB " [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: 5.1286903619766235] Failed to read output from testmodel.py, exit status != 0: 0.054564882069826126 0.06842973000000001 0.049943606 Calling exit ...