Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001895/0.001895, allocations: 91.67 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002027/0.002027, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.983/0.983, allocations: 110.3 MB / 370.6 MB, free: 12.47 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 474.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.452e-05, allocations: 4.703 kB / 474.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004359/0.004384, allocations: 4.216 MB / 478.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.0074, allocations: 2.404 MB / 481.1 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.007686, allocations: 12.75 kB / 481.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.009004, allocations: 0.4986 MB / 481.7 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.009399, allocations: 261.2 kB / 481.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.009589, allocations: 138.1 kB / 482 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005901/0.01018, allocations: 0.8472 MB / 482.9 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.01048, allocations: 220.8 kB / 483.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.01097, allocations: 467.2 kB / 483.6 MB, free: 9.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.01127, allocations: 253.5 kB / 483.8 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.028e-05/0.01136, allocations: 74.41 kB / 483.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.01149, allocations: 74.84 kB / 484 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.01161, allocations: 177.7 kB / 484.1 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.01185, allocations: 261.9 kB / 484.4 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008036/0.01266, allocations: 1.035 MB / 485.4 MB, free: 8.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01266, allocations: 0 / 485.4 MB, free: 8.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01266, allocations: 0 / 485.4 MB, free: 8.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.01267, allocations: 0 / 485.4 MB, free: 8.938 MB / 410.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.00133/0.01401, allocations: 1.061 MB / 486.5 MB, free: 8.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.01404, allocations: 9.594 kB / 486.5 MB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.0142, allocations: 118.2 kB / 486.6 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.0147, allocations: 397.3 kB / 487 MB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.01473, allocations: 36.19 kB / 487 MB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.0148, allocations: 48.62 kB / 487.1 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.01544, allocations: 412.4 kB / 487.5 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.01547, allocations: 1.625 kB / 487.5 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.0155, allocations: 19.94 kB / 487.5 MB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01552, allocations: 15.81 kB / 487.5 MB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.0161, allocations: 343.8 kB / 487.9 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.01802, allocations: 1.569 MB / 489.4 MB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.01849, allocations: 325.8 kB / 489.7 MB, free: 6.457 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.01888, allocations: 284 kB / 490 MB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.01892, allocations: 11.59 kB / 490 MB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01894, allocations: 41.42 kB / 490.1 MB, free: 6.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.01894, allocations: 0 / 490.1 MB, free: 6.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008258/0.01976, allocations: 480 kB / 490.5 MB, free: 6.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.01979, allocations: 61.5 kB / 490.6 MB, free: 6.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.02041, allocations: 0.5537 MB / 491.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.02043, allocations: 34.3 kB / 491.2 MB, free: 21.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.02062, allocations: 359.6 kB / 491.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.02071, allocations: 164.2 kB / 491.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.02081, allocations: 83.91 kB / 491.8 MB, free: 21.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.02112, allocations: 0.5673 MB / 492.3 MB, free: 20.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.02132, allocations: 112.8 kB / 492.5 MB, free: 20.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.02151, allocations: 112.8 kB / 492.6 MB, free: 20.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.02193, allocations: 306.1 kB / 492.9 MB, free: 20.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02194, allocations: 0 / 492.9 MB, free: 20.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000598/0.02253, allocations: 391.1 kB / 493.2 MB, free: 20.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.02255, allocations: 5.656 kB / 493.3 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.02256, allocations: 0 / 493.3 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.02258, allocations: 6.25 kB / 493.3 MB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.02307, allocations: 125.5 kB / 493.4 MB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.02307, allocations: 2.469 kB / 493.4 MB, free: 20.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.02329, allocations: 29.38 kB / 493.4 MB, free: 20.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.02331, allocations: 12.53 kB / 493.4 MB, free: 20.3 MB / 426.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 (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.0002128/0.02353, allocations: 223.5 kB / 493.6 MB, free: 20.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.02361, allocations: 69.73 kB / 493.7 MB, free: 20.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.02372, allocations: 53.95 kB / 493.8 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.02373, allocations: 4.719 kB / 493.8 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.02373, allocations: 5.438 kB / 493.8 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.02374, allocations: 7.266 kB / 493.8 MB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.02435, allocations: 0.5527 MB / 494.3 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.02436, allocations: 0 / 494.3 MB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.02488, allocations: 124.2 kB / 494.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02489, allocations: 3.594 kB / 494.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.02491, allocations: 6.125 kB / 494.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.02491, allocations: 2.219 kB / 494.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02492, allocations: 0 / 494.5 MB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.02594, allocations: 0.697 MB / 495.2 MB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.02604, allocations: 57.25 kB / 495.2 MB, free: 19.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.02611, allocations: 10.53 kB / 495.2 MB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.02631, allocations: 7.406 kB / 495.2 MB, free: 19.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.02639, allocations: 29.78 kB / 495.3 MB, free: 19.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.02641, allocations: 10.16 kB / 495.3 MB, free: 19.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000438/0.02685, allocations: 364.8 kB / 495.6 MB, free: 19.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02685, allocations: 0 / 495.6 MB, free: 19.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.02733, allocations: 149.5 kB / 495.8 MB, free: 18.99 MB / 426.7 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.0001433/0.02748, allocations: 115 kB / 495.9 MB, free: 18.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.02801, allocations: 312.4 kB / 496.2 MB, free: 18.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02802, allocations: 6.375 kB / 496.2 MB, free: 18.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.02829, allocations: 194.2 kB / 496.4 MB, free: 18.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.02884, allocations: 109.4 kB / 496.5 MB, free: 18.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.03048, allocations: 1.097 MB / 497.6 MB, free: 18.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.03071, allocations: 267.5 kB / 497.9 MB, free: 17.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.03087, allocations: 41 kB / 497.9 MB, free: 17.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.03097, allocations: 34.88 kB / 497.9 MB, free: 17.97 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03097, allocations: 0 / 497.9 MB, free: 17.97 MB / 426.7 MB Notification: Performance of Templates: time 0.01097/0.04194, allocations: 4.995 MB / 0.4911 GB, free: 17.36 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.737605130998418]