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.001749/0.001749, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001709/0.001709, allocations: 184 kB / 17.22 MB, free: 5.934 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.401/1.401, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.797/1.797, allocations: 292.3 MB / 0.5495 GB, free: 17.66 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.001452/0.001452, allocations: 71.91 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2329, allocations: 114.6 MB / 0.7841 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001916/0.2349, allocations: 0.5497 MB / 0.7846 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.2351, allocations: 111.7 kB / 0.7847 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.2352, allocations: 4 kB / 0.7847 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.364e-05/0.2353, allocations: 4 kB / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.2353, allocations: 0 / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.2355, allocations: 39.84 kB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2356, allocations: 27.97 kB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.2357, allocations: 4 kB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.2357, allocations: 11.98 kB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.2358, allocations: 19.92 kB / 0.7848 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2358, allocations: 4 kB / 0.7848 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.2358, allocations: 8 kB / 0.7848 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.2359, allocations: 4 kB / 0.7848 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.2359, allocations: 11.97 kB / 0.7849 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.236, allocations: 27.95 kB / 0.7849 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.236, allocations: 4 kB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.585e-06/0.236, allocations: 0 / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.236, allocations: 7.875 kB / 0.7849 GB, free: 3.008 MB / 0.6544 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.0003429/0.2364, allocations: 357.2 kB / 0.7852 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2364, allocations: 12.03 kB / 0.7852 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.2365, allocations: 4.938 kB / 0.7853 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.2366, allocations: 160.4 kB / 0.7854 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2366, allocations: 384 / 0.7854 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2366, allocations: 4.375 kB / 0.7854 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.2367, allocations: 58.22 kB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.2368, allocations: 192 / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2368, allocations: 3.938 kB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2368, allocations: 0 / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.2368, allocations: 16 kB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.237, allocations: 157.7 kB / 0.7856 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/0.237, allocations: 30.55 kB / 0.7857 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.2371, allocations: 24.91 kB / 0.7857 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.2371, allocations: 0 / 0.7857 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2371, allocations: 30.56 kB / 0.7857 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.2371, allocations: 0 / 0.7857 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002324/0.2374, allocations: 107.3 kB / 0.7858 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2374, allocations: 89.05 kB / 0.7859 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.2375, allocations: 101.8 kB / 0.786 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2375, allocations: 25.7 kB / 0.786 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.2376, allocations: 80.14 kB / 0.7861 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2376, allocations: 4.281 kB / 0.7861 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.2376, allocations: 21.72 kB / 0.7861 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2377, allocations: 319.1 kB / 0.7864 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.2378, allocations: 12 kB / 0.7864 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.2378, allocations: 11.98 kB / 0.7865 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.657e-05/0.2379, allocations: 76.27 kB / 0.7865 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2379, allocations: 0 / 0.7865 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001386/0.2381, allocations: 99.31 kB / 0.7866 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.2381, allocations: 36.52 kB / 0.7867 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2381, allocations: 3.938 kB / 0.7867 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2381, allocations: 8.031 kB / 0.7867 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2381, allocations: 0 / 0.7867 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2381, allocations: 0 / 0.7867 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2383, allocations: 11.92 kB / 0.7867 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2383, allocations: 4 kB / 0.7867 GB, free: 0.9102 MB / 0.6544 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.275e-05/0.2384, allocations: 147.5 kB / 0.7868 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2384, allocations: 4 kB / 0.7868 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.212e-05/0.2384, allocations: 7.062 kB / 0.7868 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2384, allocations: 4 kB / 0.7868 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2384, allocations: 3.938 kB / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2384, allocations: 0 / 0.7868 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.82e-05/0.2385, allocations: 149.7 kB / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2385, allocations: 0 / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.2385, allocations: 0 / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2386, allocations: 0 / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2386, allocations: 15.92 kB / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2386, allocations: 0 / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2386, allocations: 0 / 0.787 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2387, allocations: 130.7 kB / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.2388, allocations: 81.09 kB / 0.7872 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2388, allocations: 11.94 kB / 0.7872 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.2389, allocations: 4 kB / 0.7872 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.2389, allocations: 0 / 0.7872 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.239, allocations: 7.984 kB / 0.7872 GB, free: 252 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.174e-05/0.239, allocations: 75.28 kB / 0.7873 GB, free: 176 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.239, allocations: 4.125 kB / 0.7873 GB, free: 172 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002001/0.2392, allocations: 20 kB / 0.7873 GB, free: 152 kB / 0.6544 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.0002105/0.2394, allocations: 112 kB / 0.7874 GB, free: 40 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.3404/0.5798, allocations: 88.72 kB / 0.7875 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5799, allocations: 0 / 0.7875 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.167e-05/0.58, allocations: 66.03 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.5801, allocations: 7.656 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.5804, allocations: 92.28 kB / 0.7877 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.683e-05/0.5805, allocations: 0.681 MB / 0.7883 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.892e-05/0.5806, allocations: 2.844 kB / 0.7883 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.299e-05/0.5806, allocations: 7.438 kB / 0.7883 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.5806, allocations: 2.562 kB / 0.7883 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.002974/0.5836, allocations: 1.091 MB / 0.7894 GB, free: 47.67 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)