Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.668/2.668, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001592/0.001592, allocations: 178.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 101.6 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004968, allocations: 16.16 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2523, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008291/0.2532, allocations: 282 kB / 0.9785 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.2534, allocations: 107.8 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.2535, allocations: 4 kB / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.79e-05/0.2536, allocations: 0 / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.2536, allocations: 0 / 0.9786 GB, free: 28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.2538, allocations: 35.89 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.2539, allocations: 15.98 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2539, allocations: 4 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.254, allocations: 19.97 kB / 0.9786 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.057e-05/0.254, allocations: 7.938 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.254, allocations: 4 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.226e-05/0.2541, allocations: 4 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-06/0.2541, allocations: 0 / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.2541, allocations: 29.7 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.728e-05/0.2542, allocations: 19.95 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2542, allocations: 4 kB / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2542, allocations: 0 / 0.9787 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2543, allocations: 0 / 0.9787 GB, free: 27.85 MB / 0.6198 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.0002458/0.2545, allocations: 349.1 kB / 0.979 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2546, allocations: 12.02 kB / 0.9791 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2546, allocations: 4 kB / 0.9791 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.291e-05/0.2547, allocations: 167 kB / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2547, allocations: 4 kB / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.2548, allocations: 4 kB / 0.9792 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2549, allocations: 49.67 kB / 0.9793 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2549, allocations: 3.938 kB / 0.9793 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2549, allocations: 11.98 kB / 0.9793 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.255, allocations: 0 / 0.9793 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.255, allocations: 8 kB / 0.9793 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.2551, allocations: 153.6 kB / 0.9794 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.23e-05/0.2552, allocations: 34.53 kB / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.2552, allocations: 0 / 0.9795 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2553, allocations: 34.56 kB / 0.9795 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.2553, allocations: 4 kB / 0.9795 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002809/0.2556, allocations: 111.3 kB / 0.9796 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2556, allocations: 77.11 kB / 0.9797 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.2557, allocations: 101.8 kB / 0.9798 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2557, allocations: 25.7 kB / 0.9798 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.2557, allocations: 80.14 kB / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2558, allocations: 4.281 kB / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-06/0.2558, allocations: 0 / 0.9799 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.2559, allocations: 319.1 kB / 0.9802 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.2559, allocations: 11.98 kB / 0.9802 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.052e-05/0.256, allocations: 8 kB / 0.9802 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.256, allocations: 41.69 kB / 0.9803 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2561, allocations: 3.953 kB / 0.9803 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001726/0.2562, allocations: 95.33 kB / 0.9804 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.2563, allocations: 37.69 kB / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2563, allocations: 0 / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2563, allocations: 96 / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.2563, allocations: 4 kB / 0.9804 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2563, allocations: 3.938 kB / 0.9804 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.2566, allocations: 7.938 kB / 0.9804 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2566, allocations: 11.98 kB / 0.9804 GB, free: 25.85 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.2567, allocations: 135.5 kB / 0.9805 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.2567, allocations: 11.95 kB / 0.9806 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.2567, allocations: 3.125 kB / 0.9806 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2568, allocations: 4 kB / 0.9806 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2568, allocations: 4 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2568, allocations: 0 / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.818e-05/0.2569, allocations: 157.7 kB / 0.9807 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2569, allocations: 0 / 0.9807 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.2569, allocations: 3.953 kB / 0.9807 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2569, allocations: 0 / 0.9807 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2569, allocations: 4 kB / 0.9807 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2569, allocations: 0 / 0.9807 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2569, allocations: 0 / 0.9807 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2571, allocations: 134.7 kB / 0.9809 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.2572, allocations: 77.11 kB / 0.9809 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.2572, allocations: 3.953 kB / 0.9809 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.2574, allocations: 7.984 kB / 0.9809 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.2574, allocations: 4 kB / 0.9809 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2575, allocations: 11.92 kB / 0.981 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.2575, allocations: 79.28 kB / 0.981 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2575, allocations: 128 / 0.981 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002715/0.2578, allocations: 16 kB / 0.981 GB, free: 25.1 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.2581, allocations: 114 kB / 0.9812 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.2583, allocations: 79.39 kB / 0.9812 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2583, allocations: 0 / 0.9812 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.2584, allocations: 79.39 kB / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.2585, allocations: 4 kB / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.2588, allocations: 98.69 kB / 0.9814 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2589, allocations: 0.677 MB / 0.9821 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.427e-05/0.259, allocations: 7.984 kB / 0.9821 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.259, allocations: 7.438 kB / 0.9821 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.259, allocations: 0 / 0.9821 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.004032/0.2631, allocations: 1.014 MB / 0.9831 GB, free: 22.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)