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.001822/0.001822, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002348/0.002348, allocations: 163.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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.534/1.534, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.9089/0.9089, allocations: 110.3 MB / 369.4 MB, free: 1.168 MB / 334.1 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.573e-06/1.573e-06, allocations: 0 / 0.5478 GB, free: 9.805 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.101e-05, allocations: 2.281 kB / 0.5478 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004431/0.004462, allocations: 2.851 MB / 0.5506 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.007495, allocations: 1.959 MB / 0.5525 GB, free: 4.977 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.007691, allocations: 12 kB / 0.5525 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.009147, allocations: 457.6 kB / 0.553 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.009472, allocations: 158.8 kB / 0.5531 GB, free: 4.359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.00961, allocations: 63.88 kB / 0.5532 GB, free: 4.297 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005584/0.01017, allocations: 469.6 kB / 0.5536 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.0104, allocations: 99.83 kB / 0.5537 GB, free: 3.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004095/0.01081, allocations: 247.3 kB / 0.554 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.01105, allocations: 131.6 kB / 0.5541 GB, free: 3.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.01111, allocations: 39.94 kB / 0.5541 GB, free: 3.324 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/0.01118, allocations: 36 kB / 0.5542 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01131, allocations: 91.67 kB / 0.5543 GB, free: 3.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.01152, allocations: 151.6 kB / 0.5544 GB, free: 3.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.01217, allocations: 0.5529 MB / 0.5549 GB, free: 2.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01217, allocations: 0 / 0.5549 GB, free: 2.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01217, allocations: 0 / 0.5549 GB, free: 2.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01218, allocations: 0 / 0.5549 GB, free: 2.496 MB / 462.1 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.001113/0.01329, allocations: 0.6407 MB / 0.5556 GB, free: 1.824 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.01334, allocations: 12.03 kB / 0.5556 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.008e-05/0.01343, allocations: 48.64 kB / 0.5556 GB, free: 1.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.01399, allocations: 315.9 kB / 0.5559 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.01402, allocations: 12.88 kB / 0.5559 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.01406, allocations: 28.31 kB / 0.556 GB, free: 1.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.0145, allocations: 204.6 kB / 0.5562 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.01452, allocations: 4.188 kB / 0.5562 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.01454, allocations: 4.375 kB / 0.5562 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01455, allocations: 11.94 kB / 0.5562 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.01497, allocations: 165.9 kB / 0.5563 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.01614, allocations: 0.6363 MB / 0.557 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.01647, allocations: 146.5 kB / 0.5571 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.0167, allocations: 105.1 kB / 0.5572 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.01672, allocations: 3.906 kB / 0.5572 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.01675, allocations: 34.56 kB / 0.5572 GB, free: 28 kB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.01675, allocations: 0 / 0.5572 GB, free: 28 kB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006753/0.01743, allocations: 251.3 kB / 0.5575 GB, free: 15.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.01748, allocations: 55.41 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.01798, allocations: 393.7 kB / 0.5579 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.018, allocations: 29.7 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.01818, allocations: 208.4 kB / 0.5581 GB, free: 15.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.01825, allocations: 67.42 kB / 0.5582 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.01832, allocations: 33.7 kB / 0.5582 GB, free: 14.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.01851, allocations: 350.7 kB / 0.5586 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.01867, allocations: 55.97 kB / 0.5586 GB, free: 14.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.01883, allocations: 55.97 kB / 0.5587 GB, free: 14.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.01916, allocations: 143.1 kB / 0.5588 GB, free: 14.37 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01917, allocations: 0 / 0.5588 GB, free: 14.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004536/0.01962, allocations: 209.3 kB / 0.559 GB, free: 14.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.01964, allocations: 4 kB / 0.559 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01964, allocations: 0 / 0.559 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01966, allocations: 0 / 0.559 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.01994, allocations: 51.97 kB / 0.5591 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01995, allocations: 3.938 kB / 0.5591 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.0201, allocations: 27.81 kB / 0.5591 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.02013, allocations: 4 kB / 0.5591 GB, free: 14.07 MB / 478.1 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.0001959/0.02032, allocations: 166.4 kB / 0.5593 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.02039, allocations: 39.7 kB / 0.5593 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.02048, allocations: 39.41 kB / 0.5593 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.02048, allocations: 0 / 0.5593 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.02049, allocations: 4 kB / 0.5593 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.02049, allocations: 4 kB / 0.5593 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.02089, allocations: 277 kB / 0.5596 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.02089, allocations: 0 / 0.5596 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.02117, allocations: 55.91 kB / 0.5597 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.02118, allocations: 4 kB / 0.5597 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.0212, allocations: 4 kB / 0.5597 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0212, allocations: 0 / 0.5597 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.0212, allocations: 3.984 kB / 0.5597 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.02192, allocations: 372.8 kB / 0.56 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.022, allocations: 43.78 kB / 0.5601 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.02204, allocations: 4.062 kB / 0.5601 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.0222, allocations: 11.98 kB / 0.5601 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.02226, allocations: 7.984 kB / 0.5601 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.02228, allocations: 8 kB / 0.5601 GB, free: 12.99 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003433/0.02262, allocations: 287.2 kB / 0.5604 GB, free: 12.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02262, allocations: 0 / 0.5604 GB, free: 12.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.02295, allocations: 75.83 kB / 0.5604 GB, free: 12.64 MB / 478.1 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.0001786/0.02313, allocations: 119.1 kB / 0.5606 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.02355, allocations: 138.5 kB / 0.5607 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02355, allocations: 4 kB / 0.5607 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.02373, allocations: 71.89 kB / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.0243, allocations: 87.97 kB / 0.5608 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.02556, allocations: 0.6691 MB / 0.5615 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.02577, allocations: 190.2 kB / 0.5617 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.02587, allocations: 30.97 kB / 0.5617 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.02594, allocations: 24.5 kB / 0.5617 GB, free: 11.27 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02594, allocations: 0 / 0.5617 GB, free: 11.27 MB / 478.1 MB Notification: Performance of Templates: time 0.008908/0.03485, allocations: 3.652 MB / 0.5653 GB, free: 7.762 MB / 478.1 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.652799811214209] Failed to read output from testmodel.py, exit status != 0: 0.044082049280405045 0.059064474000000006 0.043670480000000005 Calling exit ...