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.001797/0.001797, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001999/0.001999, allocations: 216.1 kB / 23.02 MB, free: 2.953 MB / 13.93 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.652/1.652, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 3.326/3.326, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003841/0.003841, allocations: 70.19 kB / 1.177 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3567, allocations: 180 MB / 1.353 GB, free: 8.684 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002331/0.359, allocations: 0.5532 MB / 1.353 GB, free: 8.133 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.3593, allocations: 112.1 kB / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.3594, allocations: 0 / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.3595, allocations: 0 / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.759e-05/0.3595, allocations: 0 / 1.354 GB, free: 8.023 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.3597, allocations: 55.77 kB / 1.354 GB, free: 7.969 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.3598, allocations: 19.98 kB / 1.354 GB, free: 7.949 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.3599, allocations: 15.98 kB / 1.354 GB, free: 7.934 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.3599, allocations: 15.98 kB / 1.354 GB, free: 7.918 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.36, allocations: 11.97 kB / 1.354 GB, free: 7.906 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.36, allocations: 4 kB / 1.354 GB, free: 7.902 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.968e-05/0.36, allocations: 8 kB / 1.354 GB, free: 7.895 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.3601, allocations: 0 / 1.354 GB, free: 7.895 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.3601, allocations: 11.94 kB / 1.354 GB, free: 7.883 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3602, allocations: 31.89 kB / 1.354 GB, free: 7.852 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3602, allocations: 0 / 1.354 GB, free: 7.852 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3602, allocations: 0 / 1.354 GB, free: 7.852 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.3602, allocations: 4 kB / 1.354 GB, free: 7.848 MB / 1.042 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.0004134/0.3606, allocations: 280.1 kB / 1.354 GB, free: 7.535 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3607, allocations: 8.922 kB / 1.354 GB, free: 7.527 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.3607, allocations: 4.938 kB / 1.354 GB, free: 7.523 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3609, allocations: 110.5 kB / 1.354 GB, free: 7.391 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3609, allocations: 8.312 kB / 1.354 GB, free: 7.383 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3609, allocations: 4.375 kB / 1.354 GB, free: 7.379 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3611, allocations: 75.94 kB / 1.354 GB, free: 7.293 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3611, allocations: 192 / 1.354 GB, free: 7.293 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3611, allocations: 7.938 kB / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.3611, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.3612, allocations: 45.69 kB / 1.354 GB, free: 7.234 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.3613, allocations: 97.33 kB / 1.354 GB, free: 7.109 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3614, allocations: 60.23 kB / 1.354 GB, free: 7.035 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.3615, allocations: 50.55 kB / 1.354 GB, free: 6.977 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.3615, allocations: 0 / 1.354 GB, free: 6.977 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3615, allocations: 30.56 kB / 1.354 GB, free: 6.938 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3615, allocations: 4 kB / 1.354 GB, free: 6.934 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0002888/0.3618, allocations: 162.7 kB / 1.355 GB, free: 6.75 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3619, allocations: 81.11 kB / 1.355 GB, free: 6.652 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.3619, allocations: 101.9 kB / 1.355 GB, free: 6.543 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.362, allocations: 25.7 kB / 1.355 GB, free: 6.512 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.362, allocations: 80.14 kB / 1.355 GB, free: 6.43 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.362, allocations: 11.94 kB / 1.355 GB, free: 6.418 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.3621, allocations: 21.72 kB / 1.355 GB, free: 6.391 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3623, allocations: 310.8 kB / 1.355 GB, free: 6.078 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.552e-05/0.3623, allocations: 41.69 kB / 1.355 GB, free: 6.031 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.3624, allocations: 41.69 kB / 1.355 GB, free: 5.984 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.848e-05/0.3625, allocations: 80.27 kB / 1.355 GB, free: 5.891 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3625, allocations: 192 / 1.355 GB, free: 5.891 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001703/0.3627, allocations: 125.1 kB / 1.356 GB, free: 5.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3627, allocations: 29.7 kB / 1.356 GB, free: 5.715 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3627, allocations: 3.984 kB / 1.356 GB, free: 5.711 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3627, allocations: 3.938 kB / 1.356 GB, free: 5.707 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.096e-06/0.3627, allocations: 7.938 kB / 1.356 GB, free: 5.699 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3627, allocations: 0 / 1.356 GB, free: 5.699 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3629, allocations: 4 kB / 1.356 GB, free: 5.695 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.3629, allocations: 8 kB / 1.356 GB, free: 5.688 MB / 1.042 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 0.000122/0.363, allocations: 139.5 kB / 1.356 GB, free: 5.535 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.363, allocations: 8.031 kB / 1.356 GB, free: 5.527 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.156e-06/0.363, allocations: 3.156 kB / 1.356 GB, free: 5.527 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.363, allocations: 3.938 kB / 1.356 GB, free: 5.523 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.363, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.363, allocations: 0 / 1.356 GB, free: 5.523 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.754e-05/0.3631, allocations: 105.3 kB / 1.356 GB, free: 5.391 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3631, allocations: 0 / 1.356 GB, free: 5.391 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-06/0.3631, allocations: 4 kB / 1.356 GB, free: 5.387 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3631, allocations: 3.938 kB / 1.356 GB, free: 5.383 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3631, allocations: 4 kB / 1.356 GB, free: 5.379 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3631, allocations: 0 / 1.356 GB, free: 5.379 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.3632, allocations: 15.88 kB / 1.356 GB, free: 5.363 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3634, allocations: 144.5 kB / 1.356 GB, free: 5.191 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.3634, allocations: 7.938 kB / 1.356 GB, free: 5.184 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3634, allocations: 0 / 1.356 GB, free: 5.184 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3635, allocations: 11.98 kB / 1.356 GB, free: 5.172 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.3635, allocations: 3.938 kB / 1.356 GB, free: 5.168 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3635, allocations: 4 kB / 1.356 GB, free: 5.164 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.3636, allocations: 75.28 kB / 1.356 GB, free: 5.09 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.3636, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002011/0.3638, allocations: 24.06 kB / 1.356 GB, free: 5.066 MB / 1.042 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.0002843/0.364, allocations: 120.2 kB / 1.356 GB, free: 4.941 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.3643, allocations: 138.8 kB / 1.356 GB, free: 4.781 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3643, allocations: 0 / 1.356 GB, free: 4.781 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.447e-05/0.3644, allocations: 97.09 kB / 1.356 GB, free: 4.668 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3645, allocations: 10.19 kB / 1.356 GB, free: 4.66 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.3649, allocations: 138.6 kB / 1.357 GB, free: 4.492 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.3649, allocations: 55.36 kB / 1.357 GB, free: 4.418 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.365, allocations: 3.984 kB / 1.357 GB, free: 4.414 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.365, allocations: 11.44 kB / 1.357 GB, free: 4.402 MB / 1.042 GB Notification: Performance of SimCode: time 4e-07/0.365, allocations: 0 / 1.357 GB, free: 4.402 MB / 1.042 GB Notification: Performance of Templates: time 0.004128/0.3691, allocations: 1.224 MB / 1.358 GB, free: 3.195 MB / 1.042 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: 9.5681128250435]