Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001124, allocations: 194 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 68.22 kB / 0.671 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2478, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002047/0.2499, allocations: 0.6259 MB / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.2501, allocations: 107.7 kB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.2502, allocations: 0 / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2503, allocations: 7.984 kB / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.2503, allocations: 0 / 0.7836 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2505, allocations: 31.97 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.2506, allocations: 27.98 kB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.2506, allocations: 7.984 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.2507, allocations: 23.92 kB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.2507, allocations: 15.92 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2508, allocations: 0 / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-05/0.2508, allocations: 8 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.2508, allocations: 0 / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.2509, allocations: 15.98 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.251, allocations: 23.97 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.251, allocations: 3.938 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.251, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.251, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 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.0003662/0.2514, allocations: 353.3 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2514, allocations: 12.02 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.2514, allocations: 4.938 kB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2516, allocations: 160.4 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2516, allocations: 8.375 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2516, allocations: 4.375 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2518, allocations: 50.23 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2518, allocations: 192 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.2518, allocations: 7.938 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2518, allocations: 3.984 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.2519, allocations: 19.92 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.252, allocations: 157.6 kB / 0.7845 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.76e-05/0.2521, allocations: 34.59 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.2521, allocations: 16.92 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.2521, allocations: 0 / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2522, allocations: 38.48 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2522, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002305/0.2524, allocations: 115.2 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.2525, allocations: 77.11 kB / 0.7847 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.2525, allocations: 97.98 kB / 0.7848 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2526, allocations: 29.7 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.2526, allocations: 80.14 kB / 0.7849 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2526, allocations: 288 / 0.7849 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.2527, allocations: 25.7 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2528, allocations: 314.8 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.2528, allocations: 11.98 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.2529, allocations: 8 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.064e-05/0.253, allocations: 88.44 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.253, allocations: 3.938 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001338/0.2531, allocations: 95.38 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.2532, allocations: 33.64 kB / 0.7855 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2532, allocations: 3.938 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2532, allocations: 4 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-06/0.2532, allocations: 4 kB / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.2532, allocations: 0 / 0.7855 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2534, allocations: 15.95 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2534, allocations: 8 kB / 0.7855 GB, free: 10.88 MB / 0.6075 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.0001073/0.2535, allocations: 136.2 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.2535, allocations: 7.906 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.2535, allocations: 7.062 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.2535, allocations: 0 / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2535, allocations: 0 / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2536, allocations: 0 / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.2537, allocations: 157.7 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2537, allocations: 4 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.2537, allocations: 4 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2537, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2537, allocations: 3.938 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2537, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2537, allocations: 7.938 kB / 0.7858 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2539, allocations: 118.8 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.2539, allocations: 77.11 kB / 0.786 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.2539, allocations: 11.97 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2541, allocations: 7.984 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.2541, allocations: 4 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.2541, allocations: 0 / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.336e-05/0.2541, allocations: 79.28 kB / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2541, allocations: 3.938 kB / 0.7861 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001939/0.2543, allocations: 12 kB / 0.7861 GB, free: 10.14 MB / 0.6075 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.0002388/0.2546, allocations: 125 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.2547, allocations: 83.33 kB / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2547, allocations: 0 / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.2548, allocations: 71.39 kB / 0.7864 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.255, allocations: 11.88 kB / 0.7864 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.2553, allocations: 113 kB / 0.7865 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2555, allocations: 0.669 MB / 0.7872 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.15e-05/0.2556, allocations: 7.984 kB / 0.7872 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.2556, allocations: 7.438 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2556, allocations: 0 / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.003511/0.2591, allocations: 1.099 MB / 0.7883 GB, free: 7.883 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)