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.00141/0.00141, allocations: 79.83 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.001553/0.001553, allocations: 164.8 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.474/1.474, allocations: 177.2 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.9583/0.9583, allocations: 110.2 MB / 369.4 MB, free: 1.172 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.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.873e-06/1.873e-06, allocations: 0 / 0.5478 GB, free: 9.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.114e-05, allocations: 5.922 kB / 0.5478 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.009087/0.009118, allocations: 3.79 MB / 0.5515 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.01527, allocations: 2.232 MB / 0.5537 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.01597, allocations: 8 kB / 0.5537 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.01876, allocations: 0.4895 MB / 0.5542 GB, free: 3.125 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01996, allocations: 269.8 kB / 0.5545 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.02048, allocations: 139.8 kB / 0.5546 GB, free: 2.723 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.0223, allocations: 0.8483 MB / 0.5554 GB, free: 1.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006871/0.02299, allocations: 222.9 kB / 0.5556 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.02423, allocations: 463 kB / 0.5561 GB, free: 1.195 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007711/0.025, allocations: 239.3 kB / 0.5563 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.02522, allocations: 75.94 kB / 0.5564 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.02552, allocations: 80 kB / 0.5565 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.02589, allocations: 179.4 kB / 0.5566 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.02664, allocations: 263.4 kB / 0.5569 GB, free: 384 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.02859, allocations: 1.024 MB / 0.5579 GB, free: 15.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.0286, allocations: 4 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.0286, allocations: 0 / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.593e-05/0.02863, allocations: 0 / 0.5579 GB, free: 15.34 MB / 478.1 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.002619/0.03125, allocations: 0.886 MB / 0.5587 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.03131, allocations: 8.031 kB / 0.5588 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.03153, allocations: 76.47 kB / 0.5588 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.03267, allocations: 399.5 kB / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.044e-05/0.03273, allocations: 37.38 kB / 0.5592 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.03287, allocations: 52.33 kB / 0.5593 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.03422, allocations: 431 kB / 0.5597 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.03425, allocations: 4.188 kB / 0.5597 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.03432, allocations: 20.38 kB / 0.5597 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.03434, allocations: 15.88 kB / 0.5597 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.03561, allocations: 367.8 kB / 0.5601 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.03908, allocations: 1.172 MB / 0.5612 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/0.04005, allocations: 304 kB / 0.5615 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/0.0409, allocations: 281.5 kB / 0.5618 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.04094, allocations: 4 kB / 0.5618 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.04099, allocations: 38.56 kB / 0.5618 GB, free: 11.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.745e-06/0.04099, allocations: 3.938 kB / 0.5618 GB, free: 11.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=42): time 0.001769/0.04276, allocations: 495.2 kB / 0.5623 GB, free: 10.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.04286, allocations: 67.28 kB / 0.5624 GB, free: 10.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009604/0.04382, allocations: 434 kB / 0.5628 GB, free: 10.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.04388, allocations: 37.7 kB / 0.5628 GB, free: 10.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.04423, allocations: 284.5 kB / 0.5631 GB, free: 9.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.04445, allocations: 150.6 kB / 0.5632 GB, free: 9.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.04464, allocations: 62.08 kB / 0.5633 GB, free: 9.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002864/0.04492, allocations: 358.8 kB / 0.5636 GB, free: 9.266 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.04538, allocations: 128.7 kB / 0.5638 GB, free: 9.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.04577, allocations: 121.5 kB / 0.5639 GB, free: 9.023 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.04637, allocations: 294.2 kB / 0.5642 GB, free: 8.734 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.04638, allocations: 0 / 0.5642 GB, free: 8.734 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007476/0.04712, allocations: 396.5 kB / 0.5645 GB, free: 8.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.04714, allocations: 4 kB / 0.5645 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.04715, allocations: 4 kB / 0.5645 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.04717, allocations: 4 kB / 0.5646 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.04772, allocations: 127.8 kB / 0.5647 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.04773, allocations: 3.938 kB / 0.5647 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.04797, allocations: 27.78 kB / 0.5647 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.048, allocations: 12 kB / 0.5647 GB, free: 8.16 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 (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.0002593/0.04826, allocations: 197.8 kB / 0.5649 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.04835, allocations: 47.67 kB / 0.565 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.04846, allocations: 60.86 kB / 0.565 GB, free: 7.852 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.04847, allocations: 4 kB / 0.565 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.04849, allocations: 7.938 kB / 0.565 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.04849, allocations: 4 kB / 0.565 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.04912, allocations: 424.8 kB / 0.5654 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.04912, allocations: 0 / 0.5654 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.0497, allocations: 123.9 kB / 0.5655 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.0497, allocations: 4 kB / 0.5656 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.04973, allocations: 4 kB / 0.5656 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.04973, allocations: 8 kB / 0.5656 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.04973, allocations: 0 / 0.5656 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.05089, allocations: 0.6547 MB / 0.5662 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.051, allocations: 59.62 kB / 0.5663 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.05106, allocations: 4 kB / 0.5663 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.0513, allocations: 15.98 kB / 0.5663 GB, free: 6.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.05138, allocations: 31.89 kB / 0.5663 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.0514, allocations: 8.094 kB / 0.5663 GB, free: 6.465 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003887/0.05178, allocations: 319.1 kB / 0.5666 GB, free: 6.156 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.05178, allocations: 0 / 0.5666 GB, free: 6.156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.05223, allocations: 151.7 kB / 0.5668 GB, free: 6.008 MB / 478.1 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.0001662/0.05239, allocations: 123.1 kB / 0.5669 GB, free: 5.879 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006571/0.05305, allocations: 303.5 kB / 0.5672 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.05305, allocations: 0 / 0.5672 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.05338, allocations: 171.9 kB / 0.5673 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.05399, allocations: 103.3 kB / 0.5674 GB, free: 5.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.05605, allocations: 1.077 MB / 0.5685 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.05637, allocations: 275.2 kB / 0.5687 GB, free: 3.922 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.05656, allocations: 47.38 kB / 0.5688 GB, free: 3.871 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.05667, allocations: 36.5 kB / 0.5688 GB, free: 3.836 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.05667, allocations: 0 / 0.5688 GB, free: 3.836 MB / 478.1 MB Notification: Performance of Templates: time 0.01211/0.06878, allocations: 4.964 MB / 0.5737 GB, free: 15.03 MB / 494.1 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=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: 5.68725186958909] Failed to read output from testmodel.py, exit status != 0: 0.08046604692935944 0.094454092 0.062347542000000006 Calling exit ...