Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 117 kB / 17.09 MB, free: 5.969 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.001822/0.001822, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.523/1.523, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8068/0.8068, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 66.69 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002608/0.1844, allocations: 1.429 MB / 0.6342 GB, free: 2.934 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.189, allocations: 2.898 MB / 0.637 GB, free: 20 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.1891, allocations: 0 / 0.637 GB, free: 20 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.1892, allocations: 7.922 kB / 0.637 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.937e-05/0.1892, allocations: 7.875 kB / 0.6371 GB, free: 4 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.1935, allocations: 1.6 MB / 0.6386 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.1937, allocations: 47.67 kB / 0.6387 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.1937, allocations: 4 kB / 0.6387 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.1938, allocations: 11.94 kB / 0.6387 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.1938, allocations: 19.92 kB / 0.6387 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1938, allocations: 0 / 0.6387 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.1962, allocations: 1.533 MB / 0.6402 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.1963, allocations: 7.938 kB / 0.6402 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.1963, allocations: 23.88 kB / 0.6402 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.1979, allocations: 1.111 MB / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1979, allocations: 0 / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.1979, allocations: 0 / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.198, allocations: 0 / 0.6413 GB, free: 11.65 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007125/0.1987, allocations: 0.528 MB / 0.6418 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1987, allocations: 8.031 kB / 0.6418 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.1988, allocations: 76.22 kB / 0.6419 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.199, allocations: 257.5 kB / 0.6421 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.1991, allocations: 150.9 kB / 0.6423 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.1992, allocations: 150.9 kB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.1993, allocations: 109.1 kB / 0.6425 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.1993, allocations: 79.28 kB / 0.6426 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.1994, allocations: 154.6 kB / 0.6428 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/0.1995, allocations: 150.6 kB / 0.6429 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/0.1995, allocations: 158.5 kB / 0.6431 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1999, allocations: 469.8 kB / 0.6435 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.2, allocations: 169.1 kB / 0.6437 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.2001, allocations: 80.14 kB / 0.6437 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.2001, allocations: 75.28 kB / 0.6438 GB, free: 8.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/0.2002, allocations: 109.8 kB / 0.6439 GB, free: 8.805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.2002, allocations: 3.938 kB / 0.6439 GB, free: 8.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.189e-05/0.2003, allocations: 33.7 kB / 0.644 GB, free: 8.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.2004, allocations: 134.6 kB / 0.6441 GB, free: 8.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2005, allocations: 133.7 kB / 0.6442 GB, free: 8.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2006, allocations: 29.69 kB / 0.6442 GB, free: 8.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.2006, allocations: 88.14 kB / 0.6443 GB, free: 8.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.2006, allocations: 0 / 0.6443 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.2007, allocations: 17.72 kB / 0.6443 GB, free: 8.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2008, allocations: 318.9 kB / 0.6446 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.2008, allocations: 8 kB / 0.6447 GB, free: 8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.2009, allocations: 8 kB / 0.6447 GB, free: 7.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/0.2009, allocations: 24.86 kB / 0.6447 GB, free: 7.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2009, allocations: 0 / 0.6447 GB, free: 7.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001543/0.2011, allocations: 57.53 kB / 0.6447 GB, free: 7.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2011, allocations: 5.562 kB / 0.6447 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/0.2012, allocations: 4 kB / 0.6447 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2012, allocations: 0 / 0.6447 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.2012, allocations: 0 / 0.6447 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2012, allocations: 4 kB / 0.6448 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.2012, allocations: 0 / 0.6448 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2012, allocations: 64 / 0.6448 GB, free: 7.891 MB / 494.1 MB 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: 0 * Record equations: 1 * 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.0001276/0.2014, allocations: 189.1 kB / 0.6449 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.2015, allocations: 116.8 kB / 0.645 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.214e-05/0.2015, allocations: 112.9 kB / 0.6452 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-05/0.2016, allocations: 176.3 kB / 0.6453 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.853e-05/0.2017, allocations: 180.2 kB / 0.6455 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.54e-05/0.2018, allocations: 188.2 kB / 0.6457 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.2021, allocations: 417.1 kB / 0.6461 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.668e-05/0.2021, allocations: 104.9 kB / 0.6462 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.2022, allocations: 105 kB / 0.6463 GB, free: 6.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.557e-05/0.2022, allocations: 180.2 kB / 0.6464 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.2023, allocations: 188.2 kB / 0.6466 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.874e-05/0.2024, allocations: 180.2 kB / 0.6468 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.529e-05/0.2025, allocations: 180.3 kB / 0.647 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.2026, allocations: 303.8 kB / 0.6473 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.625e-05/0.2027, allocations: 189.9 kB / 0.6474 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.2028, allocations: 196.2 kB / 0.6476 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/0.2029, allocations: 101 kB / 0.6477 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.2029, allocations: 180.2 kB / 0.6479 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.203, allocations: 109 kB / 0.648 GB, free: 4.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.203, allocations: 101.6 kB / 0.6481 GB, free: 4.242 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.203, allocations: 0 / 0.6481 GB, free: 4.242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007575/0.2038, allocations: 283.8 kB / 0.6484 GB, free: 3.965 MB / 494.1 MB 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 (0): * Single equations (assignments): 0 * 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.001014/0.2048, allocations: 0.5437 MB / 0.6489 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.205, allocations: 37.7 kB / 0.6489 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.205, allocations: 0 / 0.6489 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.205, allocations: 8 kB / 0.6489 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.2054, allocations: 468.3 kB / 0.6494 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.2057, allocations: 261.5 kB / 0.6496 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.206, allocations: 0.6885 MB / 0.6503 GB, free: 1.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.206, allocations: 11.44 kB / 0.6503 GB, free: 1.887 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.206, allocations: 0 / 0.6503 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Templates: time 0.00749/0.2135, allocations: 4.743 MB / 0.6549 GB, free: 13.14 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)