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.001184/0.001184, allocations: 109.8 kB / 16.41 MB, free: 6.426 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.001274/0.001274, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6631/0.6631, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 70.67 kB / 0.5578 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002969/0.1456, allocations: 1.426 MB / 0.6335 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004507/0.1501, allocations: 2.895 MB / 0.6364 GB, free: 52 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.1502, allocations: 4 kB / 0.6364 GB, free: 48 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1502, allocations: 7.922 kB / 0.6364 GB, free: 40 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.1503, allocations: 11.86 kB / 0.6364 GB, free: 28 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.1541, allocations: 1.594 MB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.1542, allocations: 59.66 kB / 0.638 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1543, allocations: 4 kB / 0.638 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.1543, allocations: 15.94 kB / 0.638 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.646e-05/0.1543, allocations: 15.92 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1543, allocations: 0 / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.1563, allocations: 1.529 MB / 0.6395 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.1563, allocations: 4 kB / 0.6395 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1563, allocations: 23.86 kB / 0.6396 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1575, allocations: 1.111 MB / 0.6406 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1576, allocations: 4 kB / 0.6406 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1576, allocations: 4 kB / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1576, allocations: 0 / 0.6407 GB, free: 11.68 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.0005489/0.1581, allocations: 0.5145 MB / 0.6412 GB, free: 11.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1582, allocations: 12.03 kB / 0.6412 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.1582, allocations: 76.22 kB / 0.6412 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1584, allocations: 251.5 kB / 0.6415 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.1585, allocations: 162.9 kB / 0.6416 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.1585, allocations: 154.9 kB / 0.6418 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.051e-05/0.1586, allocations: 113 kB / 0.6419 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.1586, allocations: 75.28 kB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.1587, allocations: 150.6 kB / 0.6421 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.1588, allocations: 154.5 kB / 0.6423 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/0.1588, allocations: 154.6 kB / 0.6424 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.1591, allocations: 465.8 kB / 0.6428 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.1592, allocations: 173.1 kB / 0.643 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1593, allocations: 80.14 kB / 0.6431 GB, free: 9.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1593, allocations: 79.28 kB / 0.6432 GB, free: 8.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.1593, allocations: 113.8 kB / 0.6433 GB, free: 8.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1593, allocations: 0 / 0.6433 GB, free: 8.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.806e-05/0.1594, allocations: 29.7 kB / 0.6433 GB, free: 8.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.1595, allocations: 130.6 kB / 0.6434 GB, free: 8.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1596, allocations: 135.6 kB / 0.6436 GB, free: 8.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1596, allocations: 29.7 kB / 0.6436 GB, free: 8.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.1597, allocations: 92.14 kB / 0.6437 GB, free: 8.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.1597, allocations: 0 / 0.6437 GB, free: 8.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.1597, allocations: 17.72 kB / 0.6437 GB, free: 8.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1599, allocations: 318.9 kB / 0.644 GB, free: 8.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.1599, allocations: 8 kB / 0.644 GB, free: 8.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.1599, allocations: 4 kB / 0.644 GB, free: 8.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.1599, allocations: 16.86 kB / 0.644 GB, free: 8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.16, allocations: 0 / 0.644 GB, free: 8 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000121/0.1601, allocations: 65.62 kB / 0.6441 GB, free: 7.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1601, allocations: 4 kB / 0.6441 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.1601, allocations: 7.938 kB / 0.6441 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1601, allocations: 0 / 0.6441 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1601, allocations: 0 / 0.6441 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.1602, allocations: 0 / 0.6441 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.1602, allocations: 4 kB / 0.6441 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.1602, allocations: 0 / 0.6441 GB, free: 7.914 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 9.001e-05/0.1603, allocations: 185.1 kB / 0.6443 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.1604, allocations: 116.9 kB / 0.6444 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1604, allocations: 116.8 kB / 0.6445 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.505e-05/0.1605, allocations: 176.3 kB / 0.6447 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.93e-05/0.1605, allocations: 176.3 kB / 0.6448 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.177e-05/0.1606, allocations: 184.2 kB / 0.645 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.1608, allocations: 417.2 kB / 0.6454 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/0.1609, allocations: 108.9 kB / 0.6455 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.1609, allocations: 104.9 kB / 0.6456 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.699e-05/0.1609, allocations: 184.2 kB / 0.6458 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.3e-05/0.161, allocations: 180.2 kB / 0.646 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.584e-05/0.1611, allocations: 180.2 kB / 0.6461 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.522e-05/0.1611, allocations: 188.2 kB / 0.6463 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1613, allocations: 307.8 kB / 0.6466 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.1614, allocations: 193.9 kB / 0.6468 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.1614, allocations: 184.3 kB / 0.647 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.1615, allocations: 104.9 kB / 0.6471 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.1616, allocations: 180.3 kB / 0.6472 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.1616, allocations: 105 kB / 0.6473 GB, free: 4.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.343e-05/0.1617, allocations: 105 kB / 0.6474 GB, free: 4.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1617, allocations: 3.938 kB / 0.6474 GB, free: 4.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006014/0.1623, allocations: 279.8 kB / 0.6477 GB, free: 3.988 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.0009374/0.1632, allocations: 0.5347 MB / 0.6482 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.892e-05/0.1633, allocations: 45.69 kB / 0.6483 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1634, allocations: 0 / 0.6483 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1634, allocations: 0 / 0.6483 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1637, allocations: 472.4 kB / 0.6487 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.164, allocations: 243.8 kB / 0.649 GB, free: 2.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1643, allocations: 0.6846 MB / 0.6496 GB, free: 1.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.1643, allocations: 4 kB / 0.6496 GB, free: 1.953 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.1643, allocations: 11.44 kB / 0.6496 GB, free: 1.941 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1643, allocations: 0 / 0.6496 GB, free: 1.941 MB / 494.1 MB Notification: Performance of Templates: time 0.009046/0.1734, allocations: 5.621 MB / 0.6551 GB, free: 12.37 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)