Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001204, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001408/0.001408, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 59.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6534/0.6549, allocations: 140.4 MB / 0.9493 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003582/0.6585, allocations: 3.082 MB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.6607, allocations: 2.112 MB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.6609, allocations: 9.5 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6622, allocations: 478.2 kB / 0.9548 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.6624, allocations: 130.1 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.6625, allocations: 49.69 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003981/0.6629, allocations: 451.8 kB / 0.9554 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.6632, allocations: 162.2 kB / 0.9556 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.6633, allocations: 147.2 kB / 0.9557 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.6635, allocations: 195.8 kB / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.6636, allocations: 34.44 kB / 0.9559 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.526e-05/0.6636, allocations: 34.94 kB / 0.956 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.182e-05/0.6637, allocations: 94.95 kB / 0.956 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.6639, allocations: 222 kB / 0.9563 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.6642, allocations: 0.5404 MB / 0.9568 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6642, allocations: 0 / 0.9568 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6643, allocations: 0 / 0.9568 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.6643, allocations: 0 / 0.9568 GB, free: 3.258 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008772/0.6651, allocations: 0.701 MB / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6652, allocations: 9.562 kB / 0.9575 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.6653, allocations: 57.45 kB / 0.9575 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.6653, allocations: 45.78 kB / 0.9576 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.6657, allocations: 376.8 kB / 0.9579 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.6657, allocations: 12.22 kB / 0.958 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.6658, allocations: 21.88 kB / 0.958 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.6661, allocations: 206.9 kB / 0.9582 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6662, allocations: 3.984 kB / 0.9582 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6662, allocations: 10.25 kB / 0.9582 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6662, allocations: 9.875 kB / 0.9582 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.6666, allocations: 167 kB / 0.9584 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/0.6675, allocations: 0.8587 MB / 0.9592 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.6678, allocations: 157.8 kB / 0.9593 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.668, allocations: 112.3 kB / 0.9594 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.668, allocations: 2.188 kB / 0.9594 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.6681, allocations: 35.77 kB / 0.9595 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.6681, allocations: 0 / 0.9595 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005494/0.6686, allocations: 262.9 kB / 0.9597 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.6686, allocations: 57.62 kB / 0.9598 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.6691, allocations: 420 kB / 0.9602 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.6691, allocations: 26.45 kB / 0.9602 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.6692, allocations: 205 kB / 0.9604 GB, free: 380 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.6692, allocations: 70.33 kB / 0.9605 GB, free: 316 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.6693, allocations: 32.62 kB / 0.9605 GB, free: 288 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6694, allocations: 348.1 kB / 0.9608 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.6696, allocations: 60.17 kB / 0.9609 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.6697, allocations: 62.55 kB / 0.961 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.67, allocations: 132 kB / 0.9611 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.67, allocations: 0 / 0.9611 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003832/0.6704, allocations: 213.4 kB / 0.9613 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6704, allocations: 5.812 kB / 0.9613 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6704, allocations: 7.922 kB / 0.9613 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6705, allocations: 5.281 kB / 0.9613 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.6707, allocations: 49.34 kB / 0.9614 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6707, allocations: 1.062 kB / 0.9614 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.6709, allocations: 24.05 kB / 0.9614 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6709, allocations: 3.406 kB / 0.9614 GB, free: 15.66 MB / 0.7325 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001496/0.6711, allocations: 166.8 kB / 0.9615 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.6711, allocations: 36.56 kB / 0.9616 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.6712, allocations: 43.53 kB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6712, allocations: 2.312 kB / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6712, allocations: 0 / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6712, allocations: 0 / 0.9616 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.6717, allocations: 377.7 kB / 0.962 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6717, allocations: 1.188 kB / 0.962 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.6719, allocations: 57.88 kB / 0.962 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.6719, allocations: 0 / 0.962 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.672, allocations: 12.91 kB / 0.962 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.672, allocations: 1.375 kB / 0.962 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.672, allocations: 0 / 0.962 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/0.6726, allocations: 373.6 kB / 0.9624 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.189e-05/0.6727, allocations: 122.7 kB / 0.9625 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.6727, allocations: 10.28 kB / 0.9625 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.6729, allocations: 13.89 kB / 0.9625 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.673, allocations: 12.95 kB / 0.9626 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.673, allocations: 3.406 kB / 0.9626 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003117/0.6733, allocations: 301.3 kB / 0.9628 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6733, allocations: 1.25 kB / 0.9628 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003138/0.6736, allocations: 76.31 kB / 0.9629 GB, free: 14.49 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0008043/0.6744, allocations: 0.9204 MB / 0.9638 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.6748, allocations: 154.1 kB / 0.964 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6748, allocations: 0 / 0.964 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.675, allocations: 85.39 kB / 0.964 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.6756, allocations: 92.34 kB / 0.9641 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.6804, allocations: 3.645 MB / 0.9677 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6808, allocations: 0.7926 MB / 0.9685 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.6809, allocations: 38.23 kB / 0.9685 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.6811, allocations: 121 kB / 0.9686 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.6811, allocations: 0 / 0.9686 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.518/2.199, allocations: 7.687 MB / 0.9761 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/2.199, allocations: 269.8 kB / 0.9764 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/4.433, allocations: 5.547 kB / 0.9764 GB, free: 5.902 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)