Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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-master/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-master/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 183.1 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-master/package.mo): time 0.6983/0.6983, allocations: 133.3 MB / 150.1 MB, free: 11.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.37/1.37, allocations: 222.9 MB / 404.7 MB, free: 6.039 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.001146/0.001146, allocations: 111.6 kB / 485.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 55.92 kB / 0.5637 GB, free: 69.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1537, allocations: 80.43 MB / 0.6422 GB, free: 5.363 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002872/0.1566, allocations: 1.487 MB / 0.6437 GB, free: 3.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004788/0.1615, allocations: 2.997 MB / 0.6466 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.1615, allocations: 0 / 0.6466 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.1616, allocations: 11.92 kB / 0.6466 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.1617, allocations: 15.86 kB / 0.6466 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.1654, allocations: 1.388 MB / 0.648 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.1655, allocations: 43.67 kB / 0.648 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.1656, allocations: 8 kB / 0.648 GB, free: 15.4 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.1656, allocations: 11.94 kB / 0.648 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.515e-05/0.1656, allocations: 15.92 kB / 0.648 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1656, allocations: 4 kB / 0.648 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.1679, allocations: 1.459 MB / 0.6495 GB, free: 13.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.1679, allocations: 11.94 kB / 0.6495 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.1679, allocations: 15.88 kB / 0.6495 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1697, allocations: 1.119 MB / 0.6506 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1697, allocations: 0 / 0.6506 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1698, allocations: 3.938 kB / 0.6506 GB, free: 12.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.1698, allocations: 0 / 0.6506 GB, free: 12.75 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.0007071/0.1705, allocations: 0.5108 MB / 0.6511 GB, free: 12.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1705, allocations: 12.03 kB / 0.6511 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.1706, allocations: 80.12 kB / 0.6512 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.1707, allocations: 251.5 kB / 0.6514 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.1708, allocations: 154.9 kB / 0.6516 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/0.1709, allocations: 154.5 kB / 0.6517 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.221e-05/0.171, allocations: 108.9 kB / 0.6518 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.171, allocations: 83.27 kB / 0.6519 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.1711, allocations: 150.6 kB / 0.652 GB, free: 11.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/0.1712, allocations: 150.6 kB / 0.6522 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.1712, allocations: 150.6 kB / 0.6523 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.1715, allocations: 465.9 kB / 0.6528 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.355e-05/0.1716, allocations: 177 kB / 0.6529 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.1717, allocations: 80.14 kB / 0.653 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1717, allocations: 75.28 kB / 0.6531 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1717, allocations: 105.8 kB / 0.6532 GB, free: 9.914 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 3.096e-06/0.1717, allocations: 4 kB / 0.6532 GB, free: 9.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 9.062e-05/0.1718, allocations: 45.53 kB / 0.6532 GB, free: 9.859 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1719, allocations: 130.6 kB / 0.6534 GB, free: 9.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.172, allocations: 126.9 kB / 0.6535 GB, free: 9.586 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.1721, allocations: 29.7 kB / 0.6535 GB, free: 9.551 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1721, allocations: 88.19 kB / 0.6536 GB, free: 9.461 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.1721, allocations: 0 / 0.6536 GB, free: 9.461 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1721, allocations: 25.7 kB / 0.6536 GB, free: 9.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1723, allocations: 318.8 kB / 0.6539 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.1723, allocations: 8 kB / 0.6539 GB, free: 9.102 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.1723, allocations: 4 kB / 0.6539 GB, free: 9.098 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.1724, allocations: 16.84 kB / 0.6539 GB, free: 9.078 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1724, allocations: 3.938 kB / 0.654 GB, free: 9.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001192/0.1725, allocations: 57.61 kB / 0.654 GB, free: 9.012 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1725, allocations: 5.406 kB / 0.654 GB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.1725, allocations: 4 kB / 0.654 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1726, allocations: 64 / 0.654 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1726, allocations: 4 kB / 0.654 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1726, allocations: 0 / 0.654 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.1726, allocations: 15.83 kB / 0.654 GB, free: 8.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1726, allocations: 0 / 0.654 GB, free: 8.984 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 0.0001038/0.1727, allocations: 189 kB / 0.6542 GB, free: 8.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.1728, allocations: 105 kB / 0.6543 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.1728, allocations: 116.8 kB / 0.6544 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.195e-05/0.1729, allocations: 188.2 kB / 0.6546 GB, free: 8.371 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-05/0.173, allocations: 176.4 kB / 0.6548 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.473e-05/0.173, allocations: 184.2 kB / 0.655 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.1733, allocations: 417.2 kB / 0.6553 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/0.1733, allocations: 104.9 kB / 0.6554 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.1733, allocations: 109 kB / 0.6556 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.173e-05/0.1734, allocations: 180.3 kB / 0.6557 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.1735, allocations: 180.2 kB / 0.6559 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.126e-05/0.1735, allocations: 176.3 kB / 0.6561 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-05/0.1736, allocations: 180.2 kB / 0.6562 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.174, allocations: 0.8764 MB / 0.6571 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.1741, allocations: 178.1 kB / 0.6573 GB, free: 5.445 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.1742, allocations: 180.2 kB / 0.6574 GB, free: 5.262 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1742, allocations: 112.9 kB / 0.6575 GB, free: 5.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.1743, allocations: 188.1 kB / 0.6577 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.1744, allocations: 101 kB / 0.6578 GB, free: 4.848 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.095e-05/0.1744, allocations: 104.7 kB / 0.6579 GB, free: 4.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1744, allocations: 0 / 0.6579 GB, free: 4.746 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008856/0.1753, allocations: 291.8 kB / 0.6582 GB, free: 4.461 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.00101/0.1764, allocations: 0.5263 MB / 0.6587 GB, free: 3.922 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.1765, allocations: 45.62 kB / 0.6588 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.1765, allocations: 0 / 0.6588 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.1765, allocations: 3.938 kB / 0.6588 GB, free: 3.867 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1769, allocations: 0.5318 MB / 0.6593 GB, free: 3.332 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.1772, allocations: 237.9 kB / 0.6595 GB, free: 3.074 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1775, allocations: 0.6848 MB / 0.6602 GB, free: 2.363 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.355e-05/0.1775, allocations: 4 kB / 0.6602 GB, free: 2.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-06/0.1775, allocations: 7.438 kB / 0.6602 GB, free: 2.352 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1775, allocations: 0 / 0.6602 GB, free: 2.352 MB / 458.7 MB Notification: Performance of Templates: time 0.008741/0.1863, allocations: 5.673 MB / 0.6657 GB, free: 12.73 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)