Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.0008081/0.0008081, allocations: 92.22 kB / 20.46 MB, free: 4.113 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.001005/0.001005, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9347/0.9347, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.5643/0.5643, allocations: 110.3 MB / 371 MB, free: 12.51 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 475.2 MB, free: 15.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.594e-05, allocations: 8.938 kB / 475.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002602/0.002618, allocations: 3.119 MB / 478.4 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004242, allocations: 2.154 MB / 480.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.004356, allocations: 5.719 kB / 480.5 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008232/0.005179, allocations: 462.6 kB / 481 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.005327, allocations: 163.4 kB / 481.1 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.53e-05/0.005403, allocations: 56.83 kB / 481.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.005679, allocations: 470.6 kB / 481.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.00582, allocations: 97.12 kB / 481.8 MB, free: 11.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.006028, allocations: 253.3 kB / 482 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.006172, allocations: 140 kB / 482.1 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.006206, allocations: 35.28 kB / 482.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.224e-05/0.006248, allocations: 35.09 kB / 482.2 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.006317, allocations: 99.09 kB / 482.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.476e-05/0.006412, allocations: 144.9 kB / 482.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.00662, allocations: 285 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.006622, allocations: 1.25 kB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006622, allocations: 3.938 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.006626, allocations: 0.5938 kB / 482.7 MB, free: 10.68 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005055/0.007131, allocations: 0.7521 MB / 483.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.007157, allocations: 8.844 kB / 483.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.007217, allocations: 63.34 kB / 483.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.007488, allocations: 321.3 kB / 483.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.007502, allocations: 20.25 kB / 483.9 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.007535, allocations: 19.88 kB / 483.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.007738, allocations: 154.9 kB / 484.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007749, allocations: 2.094 kB / 484.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.007764, allocations: 10.53 kB / 484.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.007773, allocations: 9.781 kB / 484.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.007916, allocations: 77.16 kB / 484.2 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006597/0.008576, allocations: 0.6942 MB / 484.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.008719, allocations: 101.6 kB / 485 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.008798, allocations: 61.7 kB / 485 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.00881, allocations: 5.906 kB / 485 MB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.008826, allocations: 37.77 kB / 485.1 MB, free: 9.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.008827, allocations: 0 / 485.1 MB, free: 9.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002539/0.009081, allocations: 163.2 kB / 485.2 MB, free: 9.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.0091, allocations: 54.12 kB / 485.3 MB, free: 8.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.009478, allocations: 443.4 kB / 485.7 MB, free: 24.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.009486, allocations: 27.86 kB / 485.7 MB, free: 24.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.009588, allocations: 279.3 kB / 486 MB, free: 24.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.009624, allocations: 70.86 kB / 486.1 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.00966, allocations: 38.41 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.009784, allocations: 0.54 MB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.00983, allocations: 22.38 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.009871, allocations: 23.31 kB / 486.7 MB, free: 23.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.009963, allocations: 79.08 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.009965, allocations: 0 / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001488/0.01011, allocations: 154.3 kB / 486.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.01013, allocations: 4.562 kB / 486.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01013, allocations: 1.094 kB / 486.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01014, allocations: 1.125 kB / 486.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01029, allocations: 50.39 kB / 487 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.0103, allocations: 1.812 kB / 487 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.01036, allocations: 23.56 kB / 487 MB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.01037, allocations: 3.406 kB / 487 MB, free: 23.71 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 (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 7.472e-05/0.01044, allocations: 163 kB / 487.2 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.01048, allocations: 42.8 kB / 487.2 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.01052, allocations: 39.91 kB / 487.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01052, allocations: 2.156 kB / 487.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01053, allocations: 1.281 kB / 487.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01053, allocations: 3.375 kB / 487.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.01075, allocations: 314.5 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01075, allocations: 0.875 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.01088, allocations: 47.47 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01089, allocations: 1.219 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.0109, allocations: 5.5 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0109, allocations: 1.531 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0109, allocations: 4.625 kB / 487.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.01117, allocations: 327.8 kB / 487.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.01121, allocations: 41.2 kB / 488 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.01123, allocations: 5.828 kB / 488 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.0113, allocations: 6.844 kB / 488 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.01133, allocations: 11.12 kB / 488 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.01134, allocations: 9.656 kB / 488 MB, free: 22.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.01151, allocations: 282.2 kB / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01151, allocations: 0 / 488.3 MB, free: 22.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.01172, allocations: 76.03 kB / 488.4 MB, free: 22.81 MB / 426.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 8.273e-05/0.0118, allocations: 116.8 kB / 488.5 MB, free: 22.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001494/0.01195, allocations: 83.11 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01195, allocations: 1.281 kB / 488.6 MB, free: 22.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.999e-05/0.01201, allocations: 56.69 kB / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01233, allocations: 90.78 kB / 488.7 MB, free: 22.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.01323, allocations: 0.6524 MB / 489.4 MB, free: 22.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.01329, allocations: 97.97 kB / 489.4 MB, free: 22.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.287e-05/0.01335, allocations: 29.08 kB / 489.5 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.0134, allocations: 27.78 kB / 489.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0134, allocations: 3.562 kB / 489.5 MB, free: 22.15 MB / 426.7 MB Notification: Performance of Templates: time 0.005554/0.01896, allocations: 3.664 MB / 493.2 MB, free: 21.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.413740127813071]