Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0014/0.0014, allocations: 88.72 kB / 19.44 MB, free: 356 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.001606/0.001606, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002664/0.002664, allocations: 238 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.094/1.094, allocations: 138.5 MB / 454.7 MB, free: 1.453 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.516e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004764/0.00479, allocations: 2.848 MB / 0.5572 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.008336, allocations: 1.954 MB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.00859, allocations: 8 kB / 0.5591 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.01012, allocations: 461.6 kB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004129/0.01053, allocations: 158.7 kB / 0.5597 GB, free: 11.34 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.01068, allocations: 59.92 kB / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.01133, allocations: 469.6 kB / 0.5602 GB, free: 10.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.01158, allocations: 99.81 kB / 0.5603 GB, free: 10.72 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.01202, allocations: 251.4 kB / 0.5605 GB, free: 10.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.01227, allocations: 135.6 kB / 0.5606 GB, free: 10.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/0.01233, allocations: 36 kB / 0.5607 GB, free: 10.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.0124, allocations: 32 kB / 0.5607 GB, free: 10.28 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.01253, allocations: 95.67 kB / 0.5608 GB, free: 10.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.01273, allocations: 143.6 kB / 0.5609 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.0134, allocations: 0.5373 MB / 0.5615 GB, free: 9.504 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01341, allocations: 4 kB / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01341, allocations: 0 / 0.5615 GB, free: 9.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.01342, allocations: 3.984 kB / 0.5615 GB, free: 9.496 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001213/0.01464, allocations: 0.6329 MB / 0.5621 GB, free: 8.832 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.01467, allocations: 12.03 kB / 0.5621 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.0148, allocations: 60.66 kB / 0.5622 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006168/0.01542, allocations: 339.7 kB / 0.5625 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.01544, allocations: 16.88 kB / 0.5625 GB, free: 8.383 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.01549, allocations: 20.38 kB / 0.5625 GB, free: 8.363 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.01595, allocations: 196.7 kB / 0.5627 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01597, allocations: 8.172 kB / 0.5627 GB, free: 8.156 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.016, allocations: 8.375 kB / 0.5627 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01601, allocations: 7.938 kB / 0.5627 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.01645, allocations: 169.9 kB / 0.5629 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.01768, allocations: 0.6324 MB / 0.5635 GB, free: 7.309 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.01803, allocations: 150.5 kB / 0.5636 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.01827, allocations: 100.8 kB / 0.5637 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.01829, allocations: 8 kB / 0.5638 GB, free: 7.043 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.01833, allocations: 38.88 kB / 0.5638 GB, free: 6.996 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.01833, allocations: 0 / 0.5638 GB, free: 6.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006793/0.01901, allocations: 253.3 kB / 0.564 GB, free: 6.742 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.01905, allocations: 55.41 kB / 0.5641 GB, free: 6.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.0196, allocations: 401.6 kB / 0.5645 GB, free: 6.273 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.01962, allocations: 25.7 kB / 0.5645 GB, free: 6.242 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.01981, allocations: 208.4 kB / 0.5647 GB, free: 6.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.01989, allocations: 67.44 kB / 0.5648 GB, free: 5.965 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.01995, allocations: 29.72 kB / 0.5648 GB, free: 5.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003164/0.02027, allocations: 350.7 kB / 0.5651 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.02045, allocations: 51.97 kB / 0.5652 GB, free: 5.527 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.02061, allocations: 62.55 kB / 0.5652 GB, free: 5.469 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.02094, allocations: 136.7 kB / 0.5654 GB, free: 5.332 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02094, allocations: 0 / 0.5654 GB, free: 5.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000471/0.02141, allocations: 216.3 kB / 0.5656 GB, free: 5.117 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.02143, allocations: 4 kB / 0.5656 GB, free: 5.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.02143, allocations: 3.938 kB / 0.5656 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.02145, allocations: 0 / 0.5656 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.02172, allocations: 55.95 kB / 0.5656 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.02173, allocations: 3.984 kB / 0.5656 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.02188, allocations: 23.83 kB / 0.5656 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.02189, allocations: 7.938 kB / 0.5657 GB, free: 5.02 MB / 490.7 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 (20): * Single equations (assignments): 20 * 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.0001864/0.02208, allocations: 169.8 kB / 0.5658 GB, free: 4.844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.02217, allocations: 43.77 kB / 0.5659 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.02225, allocations: 39.41 kB / 0.5659 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02225, allocations: 0 / 0.5659 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.02226, allocations: 3.984 kB / 0.5659 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.02226, allocations: 4 kB / 0.5659 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.02267, allocations: 273 kB / 0.5662 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02267, allocations: 0 / 0.5662 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.02295, allocations: 51.95 kB / 0.5662 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.02296, allocations: 4 kB / 0.5662 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.02298, allocations: 8 kB / 0.5662 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.02298, allocations: 4 kB / 0.5662 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.02298, allocations: 3.984 kB / 0.5662 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.0237, allocations: 386.4 kB / 0.5666 GB, free: 4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.02378, allocations: 31.8 kB / 0.5666 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.02383, allocations: 11.98 kB / 0.5666 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.024, allocations: 8 kB / 0.5667 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.02406, allocations: 19.94 kB / 0.5667 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.02407, allocations: 4 kB / 0.5667 GB, free: 3.926 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003759/0.02445, allocations: 291.2 kB / 0.567 GB, free: 3.645 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02445, allocations: 0 / 0.567 GB, free: 3.645 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000336/0.02478, allocations: 71.89 kB / 0.567 GB, free: 3.574 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001372/0.02492, allocations: 107.1 kB / 0.5671 GB, free: 3.461 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.02532, allocations: 131.9 kB / 0.5672 GB, free: 3.332 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.02532, allocations: 4 kB / 0.5673 GB, free: 3.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.02551, allocations: 79.84 kB / 0.5673 GB, free: 3.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.02607, allocations: 83.14 kB / 0.5674 GB, free: 3.176 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.02739, allocations: 0.6934 MB / 0.5681 GB, free: 2.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.02762, allocations: 202.1 kB / 0.5683 GB, free: 2.238 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.02774, allocations: 30.95 kB / 0.5683 GB, free: 2.203 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.02781, allocations: 24.5 kB / 0.5683 GB, free: 2.18 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02781, allocations: 0 / 0.5683 GB, free: 2.18 MB / 490.7 MB Notification: Performance of Templates: time 0.00894/0.03675, allocations: 3.659 MB / 0.5719 GB, free: 14.65 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4556417589774355]