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.001527/0.001527, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.75/1.75, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001416/0.001416, allocations: 74.94 kB / 0.6723 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2174, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00199/0.2194, allocations: 0.5602 MB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000255/0.2197, allocations: 107.7 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.2197, allocations: 0 / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.43e-05/0.2198, allocations: 8 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.2199, allocations: 0 / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.2201, allocations: 43.88 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.111e-05/0.2202, allocations: 27.98 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.2202, allocations: 0 / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.273e-05/0.2203, allocations: 19.91 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.2203, allocations: 12 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2203, allocations: 0 / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-05/0.2204, allocations: 19.98 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.2204, allocations: 3.984 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2205, allocations: 4 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2206, allocations: 35.83 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2206, allocations: 4 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2206, allocations: 4 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2206, allocations: 0 / 0.785 GB, free: 11.89 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.0003271/0.2209, allocations: 353.3 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.221, allocations: 8.031 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.221, allocations: 4.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2211, allocations: 164.4 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2212, allocations: 4.375 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.2212, allocations: 4.375 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.2213, allocations: 54.23 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2213, allocations: 192 / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2213, allocations: 7.938 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2213, allocations: 0 / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.2214, allocations: 11.98 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.2215, allocations: 161.5 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.2216, allocations: 34.59 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.528e-05/0.2217, allocations: 12.92 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.2217, allocations: 4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2217, allocations: 34.56 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2217, allocations: 0 / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.2219, allocations: 111.2 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.222, allocations: 81.09 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.2221, allocations: 97.86 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.2221, allocations: 29.64 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.2221, allocations: 88.39 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2222, allocations: 0 / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.2222, allocations: 25.7 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2223, allocations: 310.8 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.102e-05/0.2224, allocations: 12 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.738e-05/0.2224, allocations: 11.98 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.2225, allocations: 84.25 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2225, allocations: 8.062 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001328/0.2226, allocations: 95.33 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2227, allocations: 33.69 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2227, allocations: 3.938 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2227, allocations: 0 / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.2227, allocations: 0 / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.2227, allocations: 4 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.2228, allocations: 7.938 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2229, allocations: 0 / 0.7867 GB, free: 9.801 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 9.383e-05/0.223, allocations: 151.6 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.223, allocations: 7.906 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.223, allocations: 7.062 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.223, allocations: 0 / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.223, allocations: 0 / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.223, allocations: 0 / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.729e-05/0.2231, allocations: 153.7 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2231, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.2231, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2231, allocations: 0 / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2232, allocations: 15.94 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2232, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2232, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.2233, allocations: 122.8 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.2234, allocations: 77.11 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.2234, allocations: 7.938 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2235, allocations: 11.92 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.2235, allocations: 8.031 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2236, allocations: 4 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.2236, allocations: 83.22 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2236, allocations: 0 / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002029/0.2238, allocations: 12 kB / 0.7874 GB, free: 9.039 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.0002124/0.224, allocations: 119.4 kB / 0.7875 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.2242, allocations: 83.39 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2242, allocations: 0 / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.2243, allocations: 71.33 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2244, allocations: 4 kB / 0.7876 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.2247, allocations: 108.9 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2249, allocations: 0.6768 MB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.168e-05/0.225, allocations: 8.125 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.115e-05/0.225, allocations: 7.438 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.225, allocations: 0 / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.00337/0.2284, allocations: 1.104 MB / 0.7895 GB, free: 6.785 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)