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.0007119/0.0007119, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007063/0.0007063, allocations: 178.2 kB / 23.22 MB, free: 1.344 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.8086/0.8086, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.4941/0.4941, allocations: 110.2 MB / 370.2 MB, free: 12.62 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 2.084e-06/2.084e-06, allocations: 0 / 0.5486 GB, free: 8.219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.032e-05, allocations: 2.281 kB / 0.5486 GB, free: 8.215 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004129/0.004159, allocations: 3.783 MB / 0.5523 GB, free: 4.402 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.006117, allocations: 2.238 MB / 0.5545 GB, free: 2.152 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.006271, allocations: 12 kB / 0.5545 GB, free: 2.141 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.00715, allocations: 0.4894 MB / 0.5549 GB, free: 1.648 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.007381, allocations: 265.8 kB / 0.5552 GB, free: 1.387 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.007513, allocations: 139.8 kB / 0.5553 GB, free: 1.25 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.008026, allocations: 0.8482 MB / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.008277, allocations: 223 kB / 0.5564 GB, free: 184 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.008659, allocations: 471 kB / 0.5568 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.008871, allocations: 231.3 kB / 0.557 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.008929, allocations: 76 kB / 0.5571 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.008985, allocations: 76 kB / 0.5572 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.009093, allocations: 175.4 kB / 0.5574 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.009243, allocations: 267.4 kB / 0.5576 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005801/0.009823, allocations: 1.028 MB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.009825, allocations: 0 / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009826, allocations: 0 / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.009833, allocations: 0 / 0.5586 GB, free: 13.88 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.0008306/0.01066, allocations: 0.886 MB / 0.5595 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.0107, allocations: 11.97 kB / 0.5595 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.01077, allocations: 76.47 kB / 0.5596 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.01117, allocations: 399.5 kB / 0.5599 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01119, allocations: 37.38 kB / 0.56 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.01125, allocations: 52.33 kB / 0.56 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.01169, allocations: 434.9 kB / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.0117, allocations: 4.188 kB / 0.5604 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.01173, allocations: 20.38 kB / 0.5605 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.01174, allocations: 15.94 kB / 0.5605 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.01215, allocations: 359.8 kB / 0.5608 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.01325, allocations: 1.168 MB / 0.562 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.01356, allocations: 309 kB / 0.5623 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.01385, allocations: 293.6 kB / 0.5625 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01386, allocations: 4 kB / 0.5625 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.01389, allocations: 42.56 kB / 0.5626 GB, free: 9.703 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.01389, allocations: 0 / 0.5626 GB, free: 9.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005497/0.01444, allocations: 487.2 kB / 0.5631 GB, free: 9.223 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.01447, allocations: 63.28 kB / 0.5631 GB, free: 9.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.01478, allocations: 442 kB / 0.5635 GB, free: 8.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.0148, allocations: 33.7 kB / 0.5636 GB, free: 8.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01492, allocations: 284.5 kB / 0.5638 GB, free: 8.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.015, allocations: 154.6 kB / 0.564 GB, free: 8.227 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.01505, allocations: 62.08 kB / 0.564 GB, free: 8.156 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.01515, allocations: 358.8 kB / 0.5644 GB, free: 7.797 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.01529, allocations: 116.7 kB / 0.5645 GB, free: 7.684 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01542, allocations: 129.4 kB / 0.5646 GB, free: 7.559 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.01572, allocations: 294.2 kB / 0.5649 GB, free: 7.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01572, allocations: 0 / 0.5649 GB, free: 7.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003686/0.01609, allocations: 392.6 kB / 0.5653 GB, free: 6.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.0161, allocations: 7.938 kB / 0.5653 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.01611, allocations: 4 kB / 0.5653 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.01612, allocations: 0 / 0.5653 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.01637, allocations: 131.8 kB / 0.5654 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01638, allocations: 7.984 kB / 0.5654 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.01647, allocations: 31.77 kB / 0.5654 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.01648, allocations: 16 kB / 0.5655 GB, free: 6.684 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 (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.0001335/0.01661, allocations: 193.8 kB / 0.5656 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.01665, allocations: 55.67 kB / 0.5657 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.01671, allocations: 52.88 kB / 0.5658 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01672, allocations: 4 kB / 0.5658 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01672, allocations: 3.938 kB / 0.5658 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01672, allocations: 3.984 kB / 0.5658 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.01704, allocations: 428.8 kB / 0.5662 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01704, allocations: 0 / 0.5662 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.01729, allocations: 131.8 kB / 0.5663 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01729, allocations: 0 / 0.5663 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.0173, allocations: 8 kB / 0.5663 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.0173, allocations: 0 / 0.5663 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01731, allocations: 0 / 0.5663 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.01789, allocations: 0.6547 MB / 0.5669 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.01794, allocations: 59.62 kB / 0.567 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.01797, allocations: 12 kB / 0.567 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.01806, allocations: 12 kB / 0.567 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.0181, allocations: 27.88 kB / 0.5671 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.01811, allocations: 12 kB / 0.5671 GB, free: 4.988 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.01833, allocations: 319.1 kB / 0.5674 GB, free: 4.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01833, allocations: 0 / 0.5674 GB, free: 4.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000224/0.01855, allocations: 147.7 kB / 0.5675 GB, free: 4.535 MB / 490.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 9.155e-05/0.01864, allocations: 115.2 kB / 0.5676 GB, free: 4.414 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.01898, allocations: 303.6 kB / 0.5679 GB, free: 4.117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01898, allocations: 3.938 kB / 0.5679 GB, free: 4.113 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01914, allocations: 167.9 kB / 0.5681 GB, free: 3.949 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.01947, allocations: 94.11 kB / 0.5682 GB, free: 3.859 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.02055, allocations: 1.118 MB / 0.5693 GB, free: 2.707 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.02072, allocations: 279.1 kB / 0.5695 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.0208, allocations: 36.5 kB / 0.5696 GB, free: 2.375 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0208, allocations: 0 / 0.5696 GB, free: 2.375 MB / 490.7 MB Notification: Performance of Templates: time 0.005296/0.02609, allocations: 6.733 MB / 0.5761 GB, free: 11.69 MB / 0.4948 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.687748969532549] Failed to read output from testmodel.py, exit status != 0: 0.031421635299921036 0.037620315 0.026347382000000003 Calling exit ...