Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 100 kB / 15.05 MB, free: 1.105 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.001318/0.001318, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.734/1.734, allocations: 251.9 MB / 0.51 GB, free: 4.77 MB / 414.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.0005508/0.0005509, allocations: 16 kB / 0.6242 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5799/0.5805, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004682/0.5852, allocations: 3.272 MB / 0.7312 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.5884, allocations: 2.255 MB / 0.7334 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002349/0.5886, allocations: 8 kB / 0.7334 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5898, allocations: 478.2 kB / 0.7339 GB, free: 5.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.5903, allocations: 251.3 kB / 0.7341 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.5905, allocations: 79.92 kB / 0.7342 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006202/0.5911, allocations: 0.5584 MB / 0.7347 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.5915, allocations: 249.5 kB / 0.735 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.5917, allocations: 235.1 kB / 0.7352 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.592, allocations: 262.9 kB / 0.7354 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.5921, allocations: 36 kB / 0.7355 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.5922, allocations: 36 kB / 0.7355 GB, free: 3.711 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.5923, allocations: 123.5 kB / 0.7356 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.5925, allocations: 161.4 kB / 0.7358 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.5932, allocations: 0.7867 MB / 0.7366 GB, free: 2.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5932, allocations: 0 / 0.7366 GB, free: 2.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.185e-06/0.5932, allocations: 3.938 kB / 0.7366 GB, free: 2.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.5932, allocations: 0 / 0.7366 GB, free: 2.633 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001372/0.5946, allocations: 0.8489 MB / 0.7374 GB, free: 1.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5946, allocations: 8.031 kB / 0.7374 GB, free: 1.723 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.5948, allocations: 75.06 kB / 0.7375 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.5954, allocations: 436.8 kB / 0.7379 GB, free: 1.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.5954, allocations: 37 kB / 0.7379 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.5955, allocations: 55.84 kB / 0.738 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.5963, allocations: 422.5 kB / 0.7384 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5963, allocations: 0 / 0.7384 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.5964, allocations: 20 kB / 0.7384 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5964, allocations: 12 kB / 0.7384 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.5971, allocations: 375.8 kB / 0.7388 GB, free: 280 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.5992, allocations: 1.543 MB / 0.7403 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.5997, allocations: 351.4 kB / 0.7406 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.5998, allocations: 4 kB / 0.7406 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.5998, allocations: 38.56 kB / 0.7406 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.403e-06/0.5998, allocations: 0 / 0.7406 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009152/0.6008, allocations: 0.5058 MB / 0.7411 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6008, allocations: 55.41 kB / 0.7412 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000528/0.6013, allocations: 485.9 kB / 0.7417 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.6014, allocations: 33.7 kB / 0.7417 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.6016, allocations: 268.5 kB / 0.7419 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.6017, allocations: 149.9 kB / 0.7421 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.6017, allocations: 8 kB / 0.7421 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6019, allocations: 358.8 kB / 0.7424 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.6021, allocations: 120.7 kB / 0.7426 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.6024, allocations: 137.2 kB / 0.7427 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.6027, allocations: 145.9 kB / 0.7428 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6027, allocations: 0 / 0.7428 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006055/0.6033, allocations: 404.5 kB / 0.7432 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6033, allocations: 12 kB / 0.7432 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6033, allocations: 0 / 0.7432 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6033, allocations: 0 / 0.7432 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.6038, allocations: 127.9 kB / 0.7433 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6038, allocations: 0.7656 kB / 0.7433 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.6041, allocations: 59.56 kB / 0.7434 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.6041, allocations: 8 kB / 0.7434 GB, free: 11.38 MB / 0.5606 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000226/0.6044, allocations: 197.8 kB / 0.7436 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.6044, allocations: 51.39 kB / 0.7436 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.6046, allocations: 61.11 kB / 0.7437 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.6046, allocations: 7.984 kB / 0.7437 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6046, allocations: 7.938 kB / 0.7437 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6046, allocations: 0 / 0.7437 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.6053, allocations: 0.5751 MB / 0.7443 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6053, allocations: 0 / 0.7443 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.6058, allocations: 123.9 kB / 0.7444 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6058, allocations: 4 kB / 0.7444 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.6058, allocations: 7.953 kB / 0.7444 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6058, allocations: 11.88 kB / 0.7444 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6059, allocations: 4 kB / 0.7444 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.6068, allocations: 0.666 MB / 0.7451 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.607, allocations: 132.5 kB / 0.7452 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.6071, allocations: 8 kB / 0.7452 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.6073, allocations: 31.84 kB / 0.7452 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.6074, allocations: 27.95 kB / 0.7453 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.6074, allocations: 8 kB / 0.7453 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003786/0.6078, allocations: 351.1 kB / 0.7456 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6078, allocations: 0 / 0.7456 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003997/0.6082, allocations: 143.6 kB / 0.7457 GB, free: 8.883 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001568/0.6084, allocations: 115.2 kB / 0.7459 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006017/0.609, allocations: 336 kB / 0.7462 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.609, allocations: 0 / 0.7462 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.6093, allocations: 183.8 kB / 0.7463 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.6099, allocations: 111.2 kB / 0.7465 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.6118, allocations: 1.451 MB / 0.7479 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.6122, allocations: 0.8785 MB / 0.7487 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.6124, allocations: 56.33 kB / 0.7488 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.6125, allocations: 35.44 kB / 0.7488 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.6125, allocations: 0 / 0.7488 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of Templates: time 0.009667/0.6222, allocations: 5.371 MB / 0.7541 GB, free: 448 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: