Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.0009631/0.0009631, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001003/0.001003, allocations: 165 kB / 24.17 MB, free: 328 kB / 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.908/0.908, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.829/1.829, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.913e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00135/0.001369, allocations: 0.5794 MB / 0.7757 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002282/0.001597, allocations: 111 kB / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.001623, allocations: 0 / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.001733, allocations: 11.92 kB / 0.7759 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.001793, allocations: 2.781 kB / 0.7759 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.00192, allocations: 31.91 kB / 0.7759 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.00202, allocations: 29.06 kB / 0.7759 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.002064, allocations: 0.5469 kB / 0.7759 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.002114, allocations: 23.08 kB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.002194, allocations: 12.64 kB / 0.776 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.002215, allocations: 4 kB / 0.776 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.002264, allocations: 11.92 kB / 0.776 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.00228, allocations: 0.7656 kB / 0.776 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.002307, allocations: 15.98 kB / 0.776 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.002417, allocations: 36.77 kB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002419, allocations: 1 kB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.21e-07/0.00242, allocations: 0.875 kB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.002424, allocations: 2.719 kB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002804/0.002705, allocations: 250.4 kB / 0.7763 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.002748, allocations: 9.344 kB / 0.7763 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.002788, allocations: 12.92 kB / 0.7763 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.002883, allocations: 103.3 kB / 0.7764 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.002895, allocations: 4.375 kB / 0.7764 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.002908, allocations: 4.375 kB / 0.7764 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003011, allocations: 82.67 kB / 0.7765 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.003017, allocations: 192 / 0.7765 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.003031, allocations: 4.375 kB / 0.7765 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003037, allocations: 384 / 0.7765 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.003071, allocations: 45.56 kB / 0.7765 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.457e-05/0.003156, allocations: 61.03 kB / 0.7766 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.794e-05/0.003214, allocations: 52.3 kB / 0.7766 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.003246, allocations: 44.86 kB / 0.7767 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-06/0.003251, allocations: 0 / 0.7767 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.003277, allocations: 34.56 kB / 0.7767 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.003278, allocations: 4 kB / 0.7767 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.003439, allocations: 147.4 kB / 0.7768 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.003483, allocations: 81.72 kB / 0.7769 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.003552, allocations: 99.41 kB / 0.777 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.003566, allocations: 26.52 kB / 0.777 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.00359, allocations: 84.14 kB / 0.7771 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.003618, allocations: 8.766 kB / 0.7771 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.003651, allocations: 22.59 kB / 0.7772 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.003743, allocations: 323.3 kB / 0.7775 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.003767, allocations: 34.64 kB / 0.7775 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.003791, allocations: 37.69 kB / 0.7775 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.375e-05/0.003844, allocations: 80.83 kB / 0.7776 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.003847, allocations: 0.6875 kB / 0.7776 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.391e-05/0.003931, allocations: 113.6 kB / 0.7777 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.003961, allocations: 33.7 kB / 0.7777 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.003969, allocations: 6.078 kB / 0.7778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.003986, allocations: 0 / 0.7778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-06/0.003991, allocations: 0 / 0.7778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.003996, allocations: 0 / 0.7778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.004072, allocations: 4.656 kB / 0.7778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.004082, allocations: 8 kB / 0.7778 GB, free: 2.547 MB / 0.7292 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 (1): * Single equations (assignments): 0 * 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 7.972e-05/0.004162, allocations: 148.9 kB / 0.7779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.004174, allocations: 9.719 kB / 0.7779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.004186, allocations: 3.156 kB / 0.7779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.004188, allocations: 0 / 0.7779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004191, allocations: 0 / 0.7779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.004195, allocations: 0.8125 kB / 0.7779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.206e-05/0.004257, allocations: 73.83 kB / 0.778 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004258, allocations: 0.75 kB / 0.778 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-07/0.004258, allocations: 0.9844 kB / 0.778 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.004259, allocations: 4.5 kB / 0.778 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.004268, allocations: 4 kB / 0.778 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004268, allocations: 1.281 kB / 0.778 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.004269, allocations: 0 / 0.778 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.004374, allocations: 144.4 kB / 0.7781 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004379, allocations: 0.875 kB / 0.7781 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.004392, allocations: 4 kB / 0.7781 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.125e-05/0.004423, allocations: 4.625 kB / 0.7781 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.004434, allocations: 0.7656 kB / 0.7782 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.004441, allocations: 8.672 kB / 0.7782 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.004452, allocations: 10.61 kB / 0.7782 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.004453, allocations: 0 / 0.7782 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001076/0.00456, allocations: 12 kB / 0.7782 GB, free: 2.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001563/0.004716, allocations: 98.25 kB / 0.7783 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.004831, allocations: 140.1 kB / 0.7784 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.004834, allocations: 1.125 kB / 0.7784 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.004876, allocations: 102 kB / 0.7785 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.344e-05/0.00495, allocations: 8.75 kB / 0.7785 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.005169, allocations: 143.1 kB / 0.7787 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.005197, allocations: 51.36 kB / 0.7787 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.062e-05/0.005217, allocations: 9.891 kB / 0.7787 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.005291, allocations: 71.36 kB / 0.7788 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.005292, allocations: 1.125 kB / 0.7788 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of Templates: time 0.002546/0.007838, allocations: 1.338 MB / 0.7801 GB, free: 108 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7198766940273345]