Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.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.001437/0.001437, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001156/0.001156, allocations: 164.1 kB / 24.97 MB, free: 8.699 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.9485/0.9485, allocations: 177.1 MB / 205.4 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.937/1.937, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.399e-05, allocations: 4.375 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.01255/0.01257, allocations: 15.99 MB / 0.7916 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.02365, allocations: 7.572 MB / 0.799 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.02571, allocations: 92.44 kB / 0.7991 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.0269, allocations: 0.5391 MB / 0.7996 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.03063, allocations: 1.86 MB / 0.8014 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.03337, allocations: 1.564 MB / 0.803 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.03849, allocations: 5.152 MB / 0.808 GB, free: 4.605 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.04098, allocations: 1.454 MB / 0.8094 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.04473, allocations: 2.474 MB / 0.8118 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.04659, allocations: 1.257 MB / 0.813 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005148/0.0471, allocations: 256 kB / 0.8133 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.04922, allocations: 1.28 MB / 0.8145 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.04979, allocations: 0.6592 MB / 0.8152 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.05101, allocations: 0.8459 MB / 0.816 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.05448, allocations: 2.458 MB / 0.8184 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.05449, allocations: 0 / 0.8184 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.05449, allocations: 0 / 0.8184 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.167e-05/0.05456, allocations: 0.9062 kB / 0.8184 GB, free: 9.902 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003487/0.05805, allocations: 2.35 MB / 0.8207 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.05809, allocations: 9.344 kB / 0.8207 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.05981, allocations: 499.5 kB / 0.8212 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.06151, allocations: 1.092 MB / 0.8223 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/0.06158, allocations: 98.16 kB / 0.8224 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.06173, allocations: 147.9 kB / 0.8225 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.06263, allocations: 0.9121 MB / 0.8234 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.06266, allocations: 0 / 0.8234 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.06272, allocations: 53.47 kB / 0.8234 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.06276, allocations: 28 kB / 0.8235 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.06323, allocations: 315 kB / 0.8238 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/0.06788, allocations: 3.492 MB / 0.8272 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.06893, allocations: 0.7012 MB / 0.8279 GB, free: 8 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.06918, allocations: 191.3 kB / 0.828 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.06936, allocations: 57.73 kB / 0.8281 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.0697, allocations: 405.2 kB / 0.8285 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=78): time 3.146e-06/0.0697, allocations: 1.125 kB / 0.8285 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of matching and sorting (n=82): time 0.002301/0.072, allocations: 1.356 MB / 0.8298 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.07203, allocations: 60.06 kB / 0.8299 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.07283, allocations: 1.02 MB / 0.8309 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.616e-05/0.07291, allocations: 57.69 kB / 0.8309 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.07322, allocations: 0.5388 MB / 0.8314 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.0734, allocations: 313.3 kB / 0.8317 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.07369, allocations: 287.3 kB / 0.832 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.07378, allocations: 365.8 kB / 0.8324 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.07402, allocations: 159.6 kB / 0.8325 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.07445, allocations: 0.7088 MB / 0.8332 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.07504, allocations: 0.6252 MB / 0.8338 GB, free: 9.473 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.07504, allocations: 0 / 0.8338 GB, free: 9.473 MB / 0.7917 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0009437/0.07599, allocations: 0.751 MB / 0.8346 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.07601, allocations: 11.94 kB / 0.8346 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.07602, allocations: 4.781 kB / 0.8346 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003714/0.07639, allocations: 184.7 kB / 0.8347 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.07712, allocations: 291.5 kB / 0.835 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006297/0.07775, allocations: 1.288 MB / 0.8363 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.07876, allocations: 79.88 kB / 0.8364 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.07884, allocations: 43.98 kB / 0.8364 GB, free: 6.762 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004263/0.07926, allocations: 261.7 kB / 0.8366 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004177/0.07968, allocations: 0.7088 MB / 0.8373 GB, free: 5.621 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005621/0.08024, allocations: 0.6186 MB / 0.8379 GB, free: 4.91 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.08025, allocations: 4 kB / 0.8379 GB, free: 4.906 MB / 0.7917 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.0009126/0.08116, allocations: 0.7513 MB / 0.8387 GB, free: 4.141 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.08118, allocations: 12 kB / 0.8387 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.08119, allocations: 8 kB / 0.8387 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.08152, allocations: 175.8 kB / 0.8389 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.08218, allocations: 287.6 kB / 0.8391 GB, free: 3.664 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004082/0.08259, allocations: 0.7107 MB / 0.8398 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.08357, allocations: 87.81 kB / 0.8399 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.08364, allocations: 43.98 kB / 0.84 GB, free: 2.797 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (seg.TBouCon.iSam,$PRE.seg.TBouCon.iSam,seg.TBouCon.UOld,$PRE.seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$PRE.seg.TBouCon.QAve_flow,$whenCondition1,seg.TBouCon.port.T,$PRE.seg.TBouCon.port.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.08385, allocations: 252 kB / 0.8402 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.08396, allocations: 107.8 kB / 0.8403 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006679/0.08463, allocations: 0.5194 MB / 0.8408 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003745/0.08501, allocations: 447.4 kB / 0.8412 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.08501, allocations: 0 / 0.8412 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.08531, allocations: 171 kB / 0.8414 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.08542, allocations: 27.98 kB / 0.8414 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/0.08591, allocations: 47.86 kB / 0.8415 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.08599, allocations: 52.88 kB / 0.8415 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008932/0.08688, allocations: 0.6615 MB / 0.8422 GB, free: 464 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006804/0.08756, allocations: 0.7781 MB / 0.8429 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000178/0.08774, allocations: 162.7 kB / 0.8431 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004095/0.08815, allocations: 0.4904 MB / 0.8436 GB, free: 15 MB / 0.8073 GB Notification: Performance of Backend: time 5.91e-07/0.08815, allocations: 0 / 0.8436 GB, free: 15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.09059, allocations: 1.361 MB / 0.8449 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of SimCode: time 0.004731/0.09532, allocations: 3.837 MB / 0.8486 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of Templates: time 0.06967/0.165, allocations: 45.56 MB / 0.8931 GB, free: 12.87 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.976950394921005]