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.0007657/0.0007657, allocations: 80.53 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.0007081/0.0007081, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8305/0.8305, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5017/0.5017, allocations: 110.2 MB / 370.2 MB, free: 12.64 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.663e-06/1.663e-06, allocations: 0 / 0.5486 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.032e-05, allocations: 4.953 kB / 0.5486 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002916/0.002937, allocations: 2.841 MB / 0.5514 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.00456, allocations: 1.961 MB / 0.5533 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.004684, allocations: 8 kB / 0.5533 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008423/0.005526, allocations: 457.6 kB / 0.5537 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.005679, allocations: 158.8 kB / 0.5539 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 7.926e-05/0.005758, allocations: 59.94 kB / 0.5539 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.006082, allocations: 480.7 kB / 0.5544 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.006242, allocations: 95.84 kB / 0.5545 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.006473, allocations: 251.4 kB / 0.5547 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.006618, allocations: 131.6 kB / 0.5548 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.006651, allocations: 36 kB / 0.5549 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.006686, allocations: 32 kB / 0.5549 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.006773, allocations: 99.66 kB / 0.555 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.125e-05/0.006865, allocations: 143.6 kB / 0.5551 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.007224, allocations: 0.5529 MB / 0.5557 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007226, allocations: 0 / 0.5557 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.12e-07/0.007227, allocations: 0 / 0.5557 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.007232, allocations: 0 / 0.5557 GB, free: 1.941 MB / 0.5105 GB 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.0006555/0.007888, allocations: 0.6368 MB / 0.5563 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.00792, allocations: 12.03 kB / 0.5563 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.007972, allocations: 48.64 kB / 0.5564 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.008302, allocations: 319.8 kB / 0.5567 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.008315, allocations: 20.88 kB / 0.5567 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.008345, allocations: 20.38 kB / 0.5567 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.008589, allocations: 200.6 kB / 0.5569 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.008601, allocations: 192 / 0.5569 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.008617, allocations: 12.38 kB / 0.5569 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.008624, allocations: 11.88 kB / 0.5569 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.009138, allocations: 165.8 kB / 0.5571 GB, free: 464 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.009812, allocations: 0.648 MB / 0.5577 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.01001, allocations: 138.6 kB / 0.5578 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.01013, allocations: 108.7 kB / 0.5579 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.01015, allocations: 4 kB / 0.5579 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.01016, allocations: 30.56 kB / 0.558 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.01016, allocations: 0 / 0.558 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0003527/0.01052, allocations: 253.6 kB / 0.5582 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.01055, allocations: 59.41 kB / 0.5583 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.01083, allocations: 393.7 kB / 0.5586 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.01085, allocations: 29.7 kB / 0.5587 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.01094, allocations: 204.4 kB / 0.5589 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01098, allocations: 67.42 kB / 0.5589 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.01102, allocations: 25.72 kB / 0.559 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.01111, allocations: 354.7 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.01119, allocations: 59.91 kB / 0.5594 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.01126, allocations: 57.52 kB / 0.5594 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.01143, allocations: 138.8 kB / 0.5595 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01143, allocations: 0 / 0.5595 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002098/0.01164, allocations: 197.4 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01165, allocations: 14.5 kB / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01165, allocations: 0 / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.01167, allocations: 0 / 0.5597 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.01181, allocations: 55.91 kB / 0.5598 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01181, allocations: 4 kB / 0.5598 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.01188, allocations: 19.81 kB / 0.5598 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.01189, allocations: 8 kB / 0.5598 GB, free: 13.52 MB / 0.5261 GB 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.0001022/0.01199, allocations: 161.8 kB / 0.56 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.01202, allocations: 35.77 kB / 0.56 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.01206, allocations: 47.39 kB / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01206, allocations: 3.938 kB / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01207, allocations: 0 / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01207, allocations: 4 kB / 0.5601 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.01227, allocations: 280.9 kB / 0.5603 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01228, allocations: 0 / 0.5603 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.0124, allocations: 55.97 kB / 0.5604 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.0124, allocations: 0 / 0.5604 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.01241, allocations: 7.984 kB / 0.5604 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.01242, allocations: 0 / 0.5604 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01242, allocations: 4 kB / 0.5604 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.01276, allocations: 379 kB / 0.5608 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.0128, allocations: 43.72 kB / 0.5608 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.01282, allocations: 4 kB / 0.5608 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.0129, allocations: 11.98 kB / 0.5608 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.01293, allocations: 7.984 kB / 0.5608 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.01294, allocations: 4 kB / 0.5608 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000188/0.01313, allocations: 291.2 kB / 0.5611 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01313, allocations: 4.062 kB / 0.5611 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001821/0.01331, allocations: 75.83 kB / 0.5612 GB, free: 12.07 MB / 0.5261 GB 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 7.802e-05/0.01339, allocations: 115.2 kB / 0.5613 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.01359, allocations: 137.5 kB / 0.5614 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01359, allocations: 0 / 0.5614 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.01368, allocations: 75.89 kB / 0.5615 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.01399, allocations: 93.17 kB / 0.5616 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.01476, allocations: 0.7096 MB / 0.5623 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.01488, allocations: 198.2 kB / 0.5625 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.01493, allocations: 28.5 kB / 0.5625 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.01493, allocations: 0 / 0.5625 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.004209/0.01914, allocations: 4.374 MB / 0.5668 GB, free: 6.336 MB / 0.5261 GB " [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: 4.6616828963160515] Failed to read output from testmodel.py, exit status != 0: 0.023878902196884155 0.031311104 0.022606019 Calling exit ...