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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 193.7 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 102.7 kB / 0.748 GB, free: 61.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2509, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002052/0.253, allocations: 0.6143 MB / 0.9828 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.2533, allocations: 119.7 kB / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.2533, allocations: 0 / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2534, allocations: 15.92 kB / 0.983 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.2535, allocations: 0 / 0.983 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.2537, allocations: 31.91 kB / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.2537, allocations: 27.92 kB / 0.983 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.2538, allocations: 4 kB / 0.983 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.2538, allocations: 19.97 kB / 0.983 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.2539, allocations: 8 kB / 0.983 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2539, allocations: 4 kB / 0.983 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.643e-05/0.254, allocations: 7.984 kB / 0.9831 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.254, allocations: 4 kB / 0.9831 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.254, allocations: 15.92 kB / 0.9831 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.51e-05/0.2541, allocations: 23.97 kB / 0.9831 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2541, allocations: 0 / 0.9831 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2541, allocations: 4 kB / 0.9831 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.2541, allocations: 0 / 0.9831 GB, free: 9.484 MB / 0.7136 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.0003413/0.2545, allocations: 355.9 kB / 0.9834 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2545, allocations: 15.97 kB / 0.9835 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.2546, allocations: 8.844 kB / 0.9835 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2547, allocations: 176.3 kB / 0.9836 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2547, allocations: 384 / 0.9836 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.2548, allocations: 4.375 kB / 0.9836 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2549, allocations: 58.23 kB / 0.9837 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2549, allocations: 192 / 0.9837 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2549, allocations: 7.938 kB / 0.9837 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2549, allocations: 0 / 0.9837 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.255, allocations: 11.98 kB / 0.9837 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2551, allocations: 153.7 kB / 0.9839 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.2552, allocations: 30.48 kB / 0.9839 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.2553, allocations: 20.91 kB / 0.9839 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.2553, allocations: 4 kB / 0.9839 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2553, allocations: 34.56 kB / 0.9839 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.2553, allocations: 0 / 0.9839 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002487/0.2556, allocations: 107.3 kB / 0.984 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.2556, allocations: 89.03 kB / 0.9841 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.2557, allocations: 93.86 kB / 0.9842 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2557, allocations: 25.7 kB / 0.9842 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.2558, allocations: 80.14 kB / 0.9843 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.2558, allocations: 4.531 kB / 0.9843 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.2559, allocations: 29.7 kB / 0.9844 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.256, allocations: 310.8 kB / 0.9847 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.256, allocations: 12 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.256, allocations: 11.98 kB / 0.9847 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.2561, allocations: 80.25 kB / 0.9848 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2561, allocations: 0 / 0.9848 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001476/0.2563, allocations: 91.39 kB / 0.9848 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.2563, allocations: 45.72 kB / 0.9849 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2563, allocations: 3.938 kB / 0.9849 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2564, allocations: 0 / 0.9849 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.2564, allocations: 0 / 0.9849 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2564, allocations: 0 / 0.9849 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2565, allocations: 11.84 kB / 0.9849 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2566, allocations: 8 kB / 0.9849 GB, free: 7.371 MB / 0.7136 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 9.353e-05/0.2567, allocations: 143.5 kB / 0.985 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.2567, allocations: 0 / 0.985 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.2567, allocations: 15.06 kB / 0.9851 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2567, allocations: 0 / 0.9851 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2567, allocations: 4 kB / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2567, allocations: 0 / 0.9851 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2568, allocations: 153.7 kB / 0.9852 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2568, allocations: 3.984 kB / 0.9852 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.2568, allocations: 3.938 kB / 0.9852 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2569, allocations: 0 / 0.9852 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2569, allocations: 7.938 kB / 0.9852 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2569, allocations: 3.938 kB / 0.9852 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2569, allocations: 4 kB / 0.9852 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.2573, allocations: 0.6803 MB / 0.9859 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.2573, allocations: 77.11 kB / 0.986 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2574, allocations: 4 kB / 0.986 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2575, allocations: 7.984 kB / 0.986 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.2575, allocations: 4.031 kB / 0.986 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.2575, allocations: 4 kB / 0.986 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.2576, allocations: 75.28 kB / 0.9861 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2576, allocations: 0 / 0.9861 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002905/0.2579, allocations: 16 kB / 0.9861 GB, free: 6.027 MB / 0.7136 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.0002197/0.2581, allocations: 115.3 kB / 0.9862 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.2582, allocations: 87.33 kB / 0.9863 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2582, allocations: 0 / 0.9863 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.2583, allocations: 71.39 kB / 0.9863 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2585, allocations: 7.938 kB / 0.9863 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.2588, allocations: 205.6 kB / 0.9865 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.259, allocations: 0.6771 MB / 0.9872 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.2591, allocations: 11.98 kB / 0.9872 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.2591, allocations: 7.438 kB / 0.9872 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.2591, allocations: 0 / 0.9872 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.003177/0.2623, allocations: 1.071 MB / 0.9883 GB, free: 3.68 MB / 0.7136 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)