Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001505/0.001504, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.379/1.379, 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.727/0.727, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.5584 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1965, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004926/0.2015, allocations: 3.016 MB / 0.6357 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2046, allocations: 2.141 MB / 0.6378 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.2048, allocations: 4 kB / 0.6378 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.2063, allocations: 0.4938 MB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.2067, allocations: 150.8 kB / 0.6384 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2068, allocations: 55.94 kB / 0.6385 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.2073, allocations: 452.5 kB / 0.6389 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.2076, allocations: 163.2 kB / 0.6391 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.2078, allocations: 163.4 kB / 0.6392 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.208, allocations: 179.1 kB / 0.6394 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.208, allocations: 32 kB / 0.6394 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.2081, allocations: 36 kB / 0.6395 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2082, allocations: 95.67 kB / 0.6396 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.2084, allocations: 218.9 kB / 0.6398 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005237/0.209, allocations: 0.545 MB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.209, allocations: 0 / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.209, allocations: 4 kB / 0.6403 GB, free: 12.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.209, allocations: 3.938 kB / 0.6403 GB, free: 12.64 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001051/0.2101, allocations: 0.7045 MB / 0.641 GB, free: 11.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2101, allocations: 12.03 kB / 0.641 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.2102, allocations: 48.38 kB / 0.6411 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.2108, allocations: 370.1 kB / 0.6414 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2109, allocations: 20.75 kB / 0.6414 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.2109, allocations: 24.38 kB / 0.6415 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.2113, allocations: 195.6 kB / 0.6416 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2114, allocations: 4 kB / 0.6416 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.2114, allocations: 8 kB / 0.6417 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2114, allocations: 4 kB / 0.6417 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.2118, allocations: 173.6 kB / 0.6418 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.2129, allocations: 0.8583 MB / 0.6427 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2132, allocations: 156.3 kB / 0.6428 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.2135, allocations: 115.2 kB / 0.6429 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2135, allocations: 0 / 0.6429 GB, free: 9.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2135, allocations: 42.48 kB / 0.643 GB, free: 9.738 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.2135, allocations: 0 / 0.643 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005904/0.2141, allocations: 265.2 kB / 0.6432 GB, free: 9.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.2142, allocations: 51.41 kB / 0.6433 GB, free: 9.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.2146, allocations: 417.7 kB / 0.6437 GB, free: 8.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2147, allocations: 25.7 kB / 0.6437 GB, free: 8.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2148, allocations: 212.2 kB / 0.6439 GB, free: 8.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.2149, allocations: 59.11 kB / 0.6439 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.215, allocations: 37.66 kB / 0.644 GB, free: 8.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2151, allocations: 350.8 kB / 0.6443 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2153, allocations: 55.97 kB / 0.6444 GB, free: 8.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2154, allocations: 57.69 kB / 0.6444 GB, free: 8.184 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2157, allocations: 133.4 kB / 0.6446 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2157, allocations: 3.938 kB / 0.6446 GB, free: 8.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003694/0.2161, allocations: 215.7 kB / 0.6448 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2161, allocations: 5.875 kB / 0.6448 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2161, allocations: 4 kB / 0.6448 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2162, allocations: 3.938 kB / 0.6448 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.2164, allocations: 47.97 kB / 0.6448 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2164, allocations: 3.938 kB / 0.6448 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2166, allocations: 23.83 kB / 0.6448 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2166, allocations: 4 kB / 0.6449 GB, free: 7.742 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 (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.0001526/0.2168, allocations: 165.8 kB / 0.645 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.2168, allocations: 35.53 kB / 0.645 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.2169, allocations: 43.53 kB / 0.6451 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2169, allocations: 4 kB / 0.6451 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2169, allocations: 4 kB / 0.6451 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2169, allocations: 0 / 0.6451 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.2173, allocations: 373.3 kB / 0.6455 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2174, allocations: 0 / 0.6455 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.2176, allocations: 63.91 kB / 0.6455 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2176, allocations: 0 / 0.6455 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2177, allocations: 3.938 kB / 0.6455 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2177, allocations: 0 / 0.6455 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2177, allocations: 0 / 0.6455 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.2182, allocations: 371 kB / 0.6459 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.2183, allocations: 128.7 kB / 0.646 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.2184, allocations: 3.938 kB / 0.646 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.2186, allocations: 11.98 kB / 0.646 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.2186, allocations: 11.98 kB / 0.646 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2186, allocations: 11.94 kB / 0.646 GB, free: 6.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003143/0.2189, allocations: 295.2 kB / 0.6463 GB, free: 6.156 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.219, allocations: 3.938 kB / 0.6463 GB, free: 6.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.2193, allocations: 75.84 kB / 0.6464 GB, free: 6.078 MB / 494.1 MB 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.0001431/0.2194, allocations: 111.2 kB / 0.6465 GB, free: 5.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.2198, allocations: 145.8 kB / 0.6466 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2198, allocations: 0 / 0.6466 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.22, allocations: 79.91 kB / 0.6467 GB, free: 5.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.2205, allocations: 89.5 kB / 0.6468 GB, free: 5.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.2219, allocations: 0.7825 MB / 0.6476 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2223, allocations: 0.7989 MB / 0.6483 GB, free: 4.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.2223, allocations: 23.44 kB / 0.6484 GB, free: 3.996 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2224, allocations: 0 / 0.6484 GB, free: 3.996 MB / 494.1 MB Notification: Performance of Templates: time 0.008248/0.2306, allocations: 4.399 MB / 0.6527 GB, free: 15.64 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)