Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7095/0.7095, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 403.3 MB, free: 7.016 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 96.86 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009604/0.0009605, allocations: 43.92 kB / 0.5619 GB, free: 70.99 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1411, allocations: 80.21 MB / 0.6402 GB, free: 6.719 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002933/0.1441, allocations: 1.497 MB / 0.6417 GB, free: 5.203 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00462/0.1487, allocations: 3.006 MB / 0.6446 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.1488, allocations: 0 / 0.6446 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.1489, allocations: 0 / 0.6446 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.149, allocations: 15.84 kB / 0.6446 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.1529, allocations: 1.394 MB / 0.646 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.153, allocations: 43.69 kB / 0.646 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.1531, allocations: 7.984 kB / 0.6461 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.1531, allocations: 11.94 kB / 0.6461 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.1531, allocations: 15.94 kB / 0.6461 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1532, allocations: 0 / 0.6461 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002512/0.1557, allocations: 1.459 MB / 0.6475 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.1557, allocations: 7.875 kB / 0.6475 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.1558, allocations: 23.86 kB / 0.6475 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.1577, allocations: 1.107 MB / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1577, allocations: 4 kB / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1578, allocations: 0 / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1578, allocations: 0 / 0.6486 GB, free: 14.11 MB / 458.7 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.0005924/0.1584, allocations: 0.5186 MB / 0.6491 GB, free: 13.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1584, allocations: 8.031 kB / 0.6491 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.1585, allocations: 84.12 kB / 0.6492 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1587, allocations: 251.5 kB / 0.6495 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/0.1587, allocations: 154.9 kB / 0.6496 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.1588, allocations: 154.5 kB / 0.6497 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.169e-05/0.1589, allocations: 105 kB / 0.6498 GB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.1589, allocations: 75.28 kB / 0.6499 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.159, allocations: 150.6 kB / 0.6501 GB, free: 12.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.159, allocations: 150.6 kB / 0.6502 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.1591, allocations: 158.5 kB / 0.6504 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.1593, allocations: 465.9 kB / 0.6508 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.1594, allocations: 173.1 kB / 0.651 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.1595, allocations: 84.14 kB / 0.651 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1595, allocations: 83.22 kB / 0.6511 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1595, allocations: 109.8 kB / 0.6512 GB, free: 11.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1595, allocations: 0 / 0.6512 GB, free: 11.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 7.59e-05/0.1596, allocations: 33.55 kB / 0.6513 GB, free: 11.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1597, allocations: 130.7 kB / 0.6514 GB, free: 11.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1598, allocations: 131.1 kB / 0.6515 GB, free: 10.94 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1599, allocations: 25.7 kB / 0.6515 GB, free: 10.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.1599, allocations: 108 kB / 0.6516 GB, free: 10.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.1599, allocations: 0 / 0.6516 GB, free: 10.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.16, allocations: 13.72 kB / 0.6517 GB, free: 10.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1601, allocations: 318.8 kB / 0.652 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.1601, allocations: 4 kB / 0.652 GB, free: 10.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.1601, allocations: 8 kB / 0.652 GB, free: 10.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.1602, allocations: 12.86 kB / 0.652 GB, free: 10.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1602, allocations: 3.938 kB / 0.652 GB, free: 10.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001268/0.1603, allocations: 61.62 kB / 0.652 GB, free: 10.36 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1603, allocations: 8 kB / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.1604, allocations: 0 / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1604, allocations: 4 kB / 0.6521 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.1604, allocations: 0 / 0.6521 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1604, allocations: 0 / 0.6521 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.1604, allocations: 11.84 kB / 0.6521 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1604, allocations: 0 / 0.6521 GB, free: 10.34 MB / 458.7 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 9.32e-05/0.1605, allocations: 190.4 kB / 0.6522 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.1606, allocations: 105 kB / 0.6523 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.1607, allocations: 116.8 kB / 0.6525 GB, free: 9.914 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-05/0.1607, allocations: 176.3 kB / 0.6526 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.567e-05/0.1608, allocations: 188.2 kB / 0.6528 GB, free: 9.543 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.121e-05/0.1608, allocations: 176.3 kB / 0.653 GB, free: 9.363 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1611, allocations: 417.1 kB / 0.6534 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/0.1611, allocations: 108.9 kB / 0.6535 GB, free: 8.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1612, allocations: 101 kB / 0.6536 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-05/0.1612, allocations: 184.4 kB / 0.6537 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.1613, allocations: 180.3 kB / 0.6539 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.027e-05/0.1614, allocations: 184.2 kB / 0.6541 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.723e-05/0.1614, allocations: 184.2 kB / 0.6543 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.1618, allocations: 0.8647 MB / 0.6551 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.109e-05/0.1619, allocations: 190 kB / 0.6553 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.1619, allocations: 184.3 kB / 0.6555 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.162, allocations: 101 kB / 0.6556 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.1621, allocations: 184.1 kB / 0.6557 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.1621, allocations: 105 kB / 0.6558 GB, free: 6.203 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.342e-05/0.1622, allocations: 105.5 kB / 0.6559 GB, free: 6.102 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1622, allocations: 0 / 0.6559 GB, free: 6.102 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009184/0.1631, allocations: 291.8 kB / 0.6562 GB, free: 5.816 MB / 458.7 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.001024/0.1642, allocations: 0.5254 MB / 0.6567 GB, free: 5.277 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.1643, allocations: 41.64 kB / 0.6568 GB, free: 5.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1643, allocations: 3.938 kB / 0.6568 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1643, allocations: 0 / 0.6568 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1647, allocations: 0.5428 MB / 0.6573 GB, free: 4.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.165, allocations: 237.9 kB / 0.6575 GB, free: 4.422 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1652, allocations: 0.6887 MB / 0.6582 GB, free: 3.707 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.219e-05/0.1653, allocations: 0 / 0.6582 GB, free: 3.707 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.1653, allocations: 7.438 kB / 0.6582 GB, free: 3.699 MB / 458.7 MB Notification: Performance of SimCode: time 1.91e-07/0.1653, allocations: 0 / 0.6582 GB, free: 3.699 MB / 458.7 MB Notification: Performance of Templates: time 0.008691/0.174, allocations: 5.668 MB / 0.6638 GB, free: 14.07 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)