Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88097,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88097,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 71.88 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6726, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003928/0.6765, allocations: 2.384 MB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.6781, allocations: 1.019 MB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.6782, allocations: 4 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.6784, allocations: 51.56 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.6786, allocations: 83.34 kB / 1.278 GB, free: 0.9609 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-109:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.6791, allocations: 163.5 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.6794, allocations: 282.8 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.6795, allocations: 28.39 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.6797, allocations: 115.5 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.6799, allocations: 107.5 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.6799, allocations: 20 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002896/0.6802, allocations: 123.8 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.6802, allocations: 47.78 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.6804, allocations: 111.5 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.6808, allocations: 322.7 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6808, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6808, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6808, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001065/0.6819, allocations: 0.6095 MB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.6819, allocations: 8.031 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.682, allocations: 28.75 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.6825, allocations: 299.2 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6825, allocations: 16.55 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.6825, allocations: 20.36 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.683, allocations: 212.6 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.683, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.683, allocations: 8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.683, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.6834, allocations: 103.8 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.6844, allocations: 0.8761 MB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.6849, allocations: 203.8 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.6852, allocations: 74.61 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.6852, allocations: 7.938 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004073/0.6856, allocations: 189.8 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.6856, allocations: 0 / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009315/0.6865, allocations: 365.5 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.6866, allocations: 118.7 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.6868, allocations: 254.4 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.6869, allocations: 37.7 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.687, allocations: 140.7 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.6871, allocations: 71.45 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.6872, allocations: 78.02 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6873, allocations: 338.8 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.6875, allocations: 80.75 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.6879, allocations: 251.2 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.6885, allocations: 380.5 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6885, allocations: 4 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007872/0.6893, allocations: 403.2 kB / 1.284 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.6893, allocations: 33.7 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6893, allocations: 8 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.6894, allocations: 8 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.6896, allocations: 71.83 kB / 1.284 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.6896, allocations: 15.88 kB / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.6899, allocations: 36.2 kB / 1.284 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.6899, allocations: 20 kB / 1.284 GB, free: 9.875 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001627/0.69, allocations: 168 kB / 1.284 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.6901, allocations: 27.81 kB / 1.284 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.6901, allocations: 29.64 kB / 1.284 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.6902, allocations: 4 kB / 1.284 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6902, allocations: 3.938 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6902, allocations: 0 / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.6905, allocations: 273.4 kB / 1.284 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6905, allocations: 4 kB / 1.284 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.6906, allocations: 15.98 kB / 1.284 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6906, allocations: 4 kB / 1.284 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.6906, allocations: 15.92 kB / 1.284 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6906, allocations: 400 / 1.284 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6906, allocations: 3.938 kB / 1.284 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.6915, allocations: 416.3 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.6916, allocations: 100.9 kB / 1.285 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.6917, allocations: 12.03 kB / 1.285 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6918, allocations: 15.98 kB / 1.285 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.6919, allocations: 23.91 kB / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.6919, allocations: 11.98 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001739/0.6921, allocations: 174 kB / 1.285 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6921, allocations: 0 / 1.285 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004048/0.6925, allocations: 87.86 kB / 1.285 GB, free: 8.414 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003678/0.6929, allocations: 181.5 kB / 1.285 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006528/0.6935, allocations: 280.2 kB / 1.286 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6935, allocations: 4.438 kB / 1.286 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.6938, allocations: 95.88 kB / 1.286 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.6942, allocations: 58.52 kB / 1.286 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.6954, allocations: 0.624 MB / 1.286 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.6958, allocations: 0.7407 MB / 1.287 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.6959, allocations: 46.89 kB / 1.287 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.696, allocations: 27.44 kB / 1.287 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.696, allocations: 4 kB / 1.287 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.009052/0.7051, allocations: 4.085 MB / 1.291 GB, free: 2.277 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 400] Could not SIGINT process: 1453873. Could not SIGINT process: 1453882. [Calling os._exit(0), Time elapsed: 408.2387603740208] Failed to read output from testmodel.py, exit status != 0: 0.7133471546694636 0.7275293540000001 0.043611984 Calling exit ...