Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.534/2.534, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001554/0.001553, allocations: 190.8 kB / 370.8 MB, free: 10.85 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.054/2.054, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001215/0.001215, allocations: 89.67 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000641/0.000641, allocations: 12.52 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2172, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.407/1.624, allocations: 429.1 MB / 1.397 GB, free: 352 kB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004573/1.625, allocations: 130 kB / 1.397 GB, free: 268 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.509/7.134, allocations: 1.024 GB / 2.422 GB, free: 92.89 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/7.134, allocations: 4 kB / 2.422 GB, free: 92.89 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004566/7.134, allocations: 79.91 kB / 2.422 GB, free: 92.81 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01374/7.148, allocations: 3.61 MB / 2.426 GB, free: 89.12 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/7.148, allocations: 12.02 kB / 2.426 GB, free: 89.11 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/7.149, allocations: 291.3 kB / 2.426 GB, free: 88.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/7.151, allocations: 371.8 kB / 2.426 GB, free: 88.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/7.162, allocations: 2.929 MB / 2.429 GB, free: 85.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/7.162, allocations: 161.2 kB / 2.429 GB, free: 85.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008059/7.163, allocations: 223.9 kB / 2.429 GB, free: 85.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/7.17, allocations: 2.114 MB / 2.431 GB, free: 82.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/7.17, allocations: 7.938 kB / 2.431 GB, free: 82.85 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/7.17, allocations: 88 kB / 2.432 GB, free: 82.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/7.17, allocations: 48 kB / 2.432 GB, free: 82.72 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005505/7.176, allocations: 1.609 MB / 2.433 GB, free: 81.09 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/7.197, allocations: 8.842 MB / 2.442 GB, free: 71.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/7.2, allocations: 1.352 MB / 2.443 GB, free: 70.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002861/7.203, allocations: 2.918 MB / 2.446 GB, free: 66.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.688e-05/7.203, allocations: 59.86 kB / 2.446 GB, free: 66.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=148): time 3.998e-06/7.203, allocations: 0 / 2.446 GB, free: 66.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=148): time 0.008814/7.212, allocations: 2.711 MB / 2.449 GB, free: 64.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/7.212, allocations: 94.42 kB / 2.449 GB, free: 63.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005094/7.217, allocations: 2.015 MB / 2.451 GB, free: 61.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/7.217, allocations: 57.7 kB / 2.451 GB, free: 61.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/7.219, allocations: 1.201 MB / 2.452 GB, free: 60.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007734/7.219, allocations: 0.5198 MB / 2.452 GB, free: 60.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/7.22, allocations: 32 kB / 2.453 GB, free: 60.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001383/7.22, allocations: 377.9 kB / 2.453 GB, free: 59.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/7.221, allocations: 0.5232 MB / 2.453 GB, free: 59.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/7.223, allocations: 0.897 MB / 2.454 GB, free: 58.18 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/7.225, allocations: 0.6777 MB / 2.455 GB, free: 57.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/7.225, allocations: 4 kB / 2.455 GB, free: 57.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005863/7.231, allocations: 1.971 MB / 2.457 GB, free: 55.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005738/7.231, allocations: 2.728 MB / 2.46 GB, free: 52.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/7.232, allocations: 8 kB / 2.46 GB, free: 52.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/7.233, allocations: 231.5 kB / 2.46 GB, free: 52.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/7.235, allocations: 347.5 kB / 2.46 GB, free: 51.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/7.241, allocations: 7.081 MB / 2.467 GB, free: 44.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/7.245, allocations: 278.1 kB / 2.467 GB, free: 44.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004786/7.245, allocations: 75.97 kB / 2.467 GB, free: 43.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/7.245, allocations: 4.781 kB / 2.467 GB, free: 43.94 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004749/7.25, allocations: 1.695 MB / 2.469 GB, free: 42.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/7.25, allocations: 10.62 kB / 2.469 GB, free: 42.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008013/7.251, allocations: 221.2 kB / 2.469 GB, free: 41.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/7.254, allocations: 355.5 kB / 2.47 GB, free: 41.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/7.262, allocations: 9.035 MB / 2.478 GB, free: 31.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/7.265, allocations: 266.2 kB / 2.479 GB, free: 31.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/7.266, allocations: 71.98 kB / 2.479 GB, free: 31.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002069/7.268, allocations: 0.6335 MB / 2.479 GB, free: 30.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009552/7.269, allocations: 260.8 kB / 2.48 GB, free: 30.58 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005897/7.275, allocations: 2.038 MB / 2.482 GB, free: 28.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.695e-05/7.275, allocations: 23.98 kB / 2.482 GB, free: 28.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/7.275, allocations: 0 / 2.482 GB, free: 28.49 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003985/7.279, allocations: 1.666 MB / 2.483 GB, free: 26.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/7.291, allocations: 4.524 MB / 2.488 GB, free: 22.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/7.292, allocations: 0 / 2.488 GB, free: 22.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/7.294, allocations: 271.7 kB / 2.488 GB, free: 21.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009112/7.295, allocations: 216.6 kB / 2.488 GB, free: 21.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/7.295, allocations: 39.98 kB / 2.488 GB, free: 21.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005594/7.301, allocations: 7.097 MB / 2.495 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/7.301, allocations: 0 / 2.495 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007138/7.308, allocations: 2.768 MB / 2.498 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/7.31, allocations: 0.5793 MB / 2.498 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009783/7.311, allocations: 28 kB / 2.498 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/7.315, allocations: 151.6 kB / 2.499 GB, free: 10.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/7.315, allocations: 117.1 kB / 2.499 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/7.315, allocations: 51.97 kB / 2.499 GB, free: 10.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004057/7.319, allocations: 1.558 MB / 2.5 GB, free: 8.574 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/7.319, allocations: 0 / 2.5 GB, free: 8.574 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00953/7.329, allocations: 1.988 MB / 2.502 GB, free: 6.582 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.T) * 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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01173/7.341, allocations: 5.201 MB / 2.507 GB, free: 1.391 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009003/7.35, allocations: 3.589 MB / 2.511 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/7.35, allocations: 0.75 kB / 2.511 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003326/7.353, allocations: 1.248 MB / 2.512 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01249/7.366, allocations: 1.35 MB / 2.513 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/7.389, allocations: 12.14 MB / 2.525 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/7.392, allocations: 1.797 MB / 2.527 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004394/7.396, allocations: 0.5906 MB / 2.527 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003204/7.399, allocations: 1.144 MB / 2.529 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of SimCode: time 1.193e-06/7.399, allocations: 0 / 2.529 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1/8.4, allocations: 90.4 MB / 2.617 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/8.4, allocations: 313.2 kB / 2.617 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/15.43, allocations: 3.281 kB / 2.617 GB, free: 127.2 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)