Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 189.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.178/1.178, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 65.05 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5359, allocations: 95.17 MB / 0.767 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004859/0.5408, allocations: 4.184 MB / 0.7711 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.5441, allocations: 2.424 MB / 0.7734 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.5444, allocations: 10.62 kB / 0.7734 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.5462, allocations: 0.5661 MB / 0.774 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.5467, allocations: 240.7 kB / 0.7742 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.5469, allocations: 140.3 kB / 0.7744 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.5477, allocations: 0.8098 MB / 0.7751 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.548, allocations: 231.7 kB / 0.7754 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.5485, allocations: 301 kB / 0.7757 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.5489, allocations: 324 kB / 0.776 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.549, allocations: 74.12 kB / 0.776 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.5491, allocations: 74.09 kB / 0.7761 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.5493, allocations: 180.9 kB / 0.7763 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.5497, allocations: 383.3 kB / 0.7766 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.5509, allocations: 1 MB / 0.7776 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5509, allocations: 4.5 kB / 0.7776 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5509, allocations: 0 / 0.7776 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.551, allocations: 1.312 kB / 0.7776 GB, free: 1.473 MB / 0.5762 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.001617/0.5526, allocations: 0.8869 MB / 0.7785 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5526, allocations: 9.281 kB / 0.7785 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5527, allocations: 81.56 kB / 0.7786 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.5534, allocations: 407.7 kB / 0.779 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.5534, allocations: 36.16 kB / 0.779 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.5535, allocations: 50.08 kB / 0.779 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/0.5543, allocations: 421.6 kB / 0.7794 GB, free: 304 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.5543, allocations: 5.719 kB / 0.7795 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.5543, allocations: 19.19 kB / 0.7795 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.5543, allocations: 12.12 kB / 0.7795 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006667/0.555, allocations: 370.3 kB / 0.7798 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.5575, allocations: 1.474 MB / 0.7813 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.558, allocations: 309.7 kB / 0.7816 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.5585, allocations: 294.4 kB / 0.7819 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.5585, allocations: 10.03 kB / 0.7819 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.5585, allocations: 30.56 kB / 0.7819 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.5585, allocations: 0 / 0.7819 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42): time 0.001036/0.5596, allocations: 499.7 kB / 0.7824 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.5596, allocations: 63.69 kB / 0.7824 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.5602, allocations: 486 kB / 0.7829 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.5603, allocations: 29.7 kB / 0.7829 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.5605, allocations: 275.7 kB / 0.7832 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.5607, allocations: 155.8 kB / 0.7833 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5608, allocations: 62.95 kB / 0.7834 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.561, allocations: 358.2 kB / 0.7837 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.5613, allocations: 129.5 kB / 0.7839 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.5616, allocations: 121.2 kB / 0.784 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.5621, allocations: 297.6 kB / 0.7843 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5621, allocations: 5.344 kB / 0.7843 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007437/0.5629, allocations: 388.9 kB / 0.7846 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5629, allocations: 5.75 kB / 0.7846 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5629, allocations: 4.984 kB / 0.7846 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.5629, allocations: 1.438 kB / 0.7846 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.5635, allocations: 130.9 kB / 0.7848 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5635, allocations: 0.7656 kB / 0.7848 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.5638, allocations: 42.2 kB / 0.7848 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.5638, allocations: 11.78 kB / 0.7848 GB, free: 13.25 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.0002725/0.5641, allocations: 196.6 kB / 0.785 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.5642, allocations: 56.33 kB / 0.7851 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.5643, allocations: 61.25 kB / 0.7851 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5643, allocations: 4.188 kB / 0.7851 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.5644, allocations: 4.969 kB / 0.7851 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5644, allocations: 4.734 kB / 0.7851 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008494/0.5652, allocations: 0.5483 MB / 0.7857 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5652, allocations: 0 / 0.7857 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.5658, allocations: 123.5 kB / 0.7858 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.5658, allocations: 5.672 kB / 0.7858 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.5658, allocations: 11.45 kB / 0.7858 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5658, allocations: 2.219 kB / 0.7858 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5658, allocations: 3.938 kB / 0.7858 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5669, allocations: 0.6585 MB / 0.7865 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.567, allocations: 61.3 kB / 0.7865 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.5671, allocations: 11.2 kB / 0.7865 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5673, allocations: 14.06 kB / 0.7865 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.5674, allocations: 21.25 kB / 0.7866 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.5674, allocations: 12.14 kB / 0.7866 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004499/0.5679, allocations: 349.7 kB / 0.7869 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5679, allocations: 0 / 0.7869 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005087/0.5684, allocations: 147.2 kB / 0.787 GB, free: 12.03 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.0001779/0.5685, allocations: 119.1 kB / 0.7872 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006858/0.5692, allocations: 294.3 kB / 0.7874 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5692, allocations: 0 / 0.7874 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.5695, allocations: 168.3 kB / 0.7876 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.5703, allocations: 134.6 kB / 0.7877 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.5724, allocations: 1.201 MB / 0.7889 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.573, allocations: 0.8716 MB / 0.7897 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.5732, allocations: 55.7 kB / 0.7898 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5734, allocations: 43.5 kB / 0.7898 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/0.5734, allocations: 0 / 0.7898 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.01646/0.5898, allocations: 6.271 MB / 0.796 GB, free: 9.672 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.395498523488641] Failed to read output from testmodel.py, exit status != 0: 0.5986914616078138 0.619473241 0.064012649 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f204200d7b0>