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.001322/0.001322, allocations: 84.73 kB / 19.44 MB, free: 360 kB / 13.93 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.001573/0.001573, allocations: 157.7 kB / 22.75 MB, free: 1.688 MB / 18.57 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002686/0.002686, allocations: 231.1 kB / 259.8 MB, free: 12.84 MB / 250.7 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.074/1.074, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.7 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.781e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005976/0.006004, allocations: 3.779 MB / 0.5581 GB, free: 13 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.00992, allocations: 2.227 MB / 0.5603 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.01026, allocations: 15.94 kB / 0.5603 GB, free: 10.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.01184, allocations: 0.4933 MB / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.01247, allocations: 261.8 kB / 0.561 GB, free: 9.996 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.01287, allocations: 139.8 kB / 0.5611 GB, free: 9.859 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.01396, allocations: 0.8444 MB / 0.562 GB, free: 9.012 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.01438, allocations: 215 kB / 0.5622 GB, free: 8.797 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007441/0.01512, allocations: 470.9 kB / 0.5626 GB, free: 8.336 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.01554, allocations: 239.3 kB / 0.5629 GB, free: 8.102 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.01566, allocations: 76 kB / 0.5629 GB, free: 8.027 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.0158, allocations: 76 kB / 0.563 GB, free: 7.953 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.016, allocations: 175.3 kB / 0.5632 GB, free: 7.781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003693/0.01637, allocations: 271.4 kB / 0.5634 GB, free: 7.516 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01752, allocations: 0.9852 MB / 0.5644 GB, free: 6.527 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01753, allocations: 0 / 0.5644 GB, free: 6.527 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01753, allocations: 0 / 0.5644 GB, free: 6.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.01755, allocations: 4 kB / 0.5644 GB, free: 6.523 MB / 490.7 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.001739/0.01929, allocations: 0.8899 MB / 0.5653 GB, free: 5.598 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.01933, allocations: 8.031 kB / 0.5653 GB, free: 5.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002185/0.01954, allocations: 116.5 kB / 0.5654 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.02031, allocations: 407.5 kB / 0.5658 GB, free: 5.055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.02035, allocations: 33.38 kB / 0.5658 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.02044, allocations: 56.31 kB / 0.5659 GB, free: 4.965 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.02132, allocations: 435 kB / 0.5663 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.02134, allocations: 192 / 0.5663 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.02139, allocations: 20.38 kB / 0.5663 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.02141, allocations: 15.94 kB / 0.5663 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007968/0.02221, allocations: 363.8 kB / 0.5666 GB, free: 4.148 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.02442, allocations: 1.187 MB / 0.5678 GB, free: 2.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.02512, allocations: 315.4 kB / 0.5681 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.02566, allocations: 284.8 kB / 0.5684 GB, free: 2.328 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.02569, allocations: 8 kB / 0.5684 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.02572, allocations: 34.56 kB / 0.5684 GB, free: 2.277 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.02572, allocations: 0 / 0.5684 GB, free: 2.277 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.001102/0.02683, allocations: 0.4908 MB / 0.5689 GB, free: 1.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.02688, allocations: 63.34 kB / 0.569 GB, free: 1.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.02748, allocations: 441.9 kB / 0.5694 GB, free: 1.266 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.02752, allocations: 33.7 kB / 0.5694 GB, free: 1.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.02776, allocations: 289.2 kB / 0.5697 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.02792, allocations: 154.6 kB / 0.5698 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.02804, allocations: 62.08 kB / 0.5699 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.02826, allocations: 358.8 kB / 0.5702 GB, free: 368 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.02854, allocations: 116.7 kB / 0.5703 GB, free: 252 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.0288, allocations: 127.7 kB / 0.5705 GB, free: 128 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.02941, allocations: 294 kB / 0.5708 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.02941, allocations: 7.938 kB / 0.5708 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000769/0.03018, allocations: 404.6 kB / 0.5711 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.0302, allocations: 4 kB / 0.5711 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.0302, allocations: 0 / 0.5711 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.03023, allocations: 11.92 kB / 0.5712 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.03079, allocations: 131.8 kB / 0.5713 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.03079, allocations: 0 / 0.5713 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.031, allocations: 31.84 kB / 0.5713 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.03103, allocations: 15.98 kB / 0.5713 GB, free: 15.23 MB / 0.4948 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.0002449/0.03128, allocations: 193.8 kB / 0.5715 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.03139, allocations: 63.67 kB / 0.5716 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.03151, allocations: 60.86 kB / 0.5716 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.03152, allocations: 4 kB / 0.5716 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.03153, allocations: 3.938 kB / 0.5716 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.03153, allocations: 0 / 0.5716 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.03216, allocations: 424.8 kB / 0.572 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.03216, allocations: 0 / 0.572 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.03272, allocations: 127.9 kB / 0.5722 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.03273, allocations: 0 / 0.5722 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.03275, allocations: 8 kB / 0.5722 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.03276, allocations: 0 / 0.5722 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.03276, allocations: 0 / 0.5722 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.03392, allocations: 0.6666 MB / 0.5728 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.03403, allocations: 55.69 kB / 0.5729 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.03409, allocations: 8 kB / 0.5729 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.03431, allocations: 15.98 kB / 0.5729 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.03438, allocations: 31.83 kB / 0.5729 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.0344, allocations: 12 kB / 0.5729 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004103/0.03481, allocations: 315.1 kB / 0.5732 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.03481, allocations: 0 / 0.5732 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004551/0.03527, allocations: 151.6 kB / 0.5734 GB, free: 13.07 MB / 0.4948 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.0001523/0.03542, allocations: 111.2 kB / 0.5735 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006655/0.03609, allocations: 303.6 kB / 0.5738 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.03609, allocations: 3.938 kB / 0.5738 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.03641, allocations: 164.2 kB / 0.5739 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.03703, allocations: 97.62 kB / 0.574 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.03918, allocations: 1.115 MB / 0.5751 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.03951, allocations: 275.2 kB / 0.5754 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000175/0.03969, allocations: 43.38 kB / 0.5754 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.0398, allocations: 36.5 kB / 0.5755 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of SimCode: time 4.9e-07/0.0398, allocations: 0 / 0.5755 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of Templates: time 0.01123/0.05103, allocations: 5.001 MB / 0.5804 GB, free: 6.004 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.599266426055692]